]> git.lyx.org Git - features.git/commit
In order to avoid code replication, use a template-based solution for
authorEnrico Forestieri <forenr@lyx.org>
Sat, 29 Jan 2011 19:44:53 +0000 (19:44 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Sat, 29 Jan 2011 19:44:53 +0000 (19:44 +0000)
commitab9548d06d4b59852a390e8d98b78b9df5382bd6
tree7d9fe35fa88514135eb0473c6e002c6bd6ec1428
parent195d1c681bf29a13a8c10c281cacfa05ed1b5d05
In order to avoid code replication, use a template-based solution for
all types requiring the exact same code, as suggested by Tommaso.
This allows to simply add a single-line instantiation declaration
if there's the need of adding another type requiring the same code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37366 a592a061-630c-0410-9148-cb99ea01b6c8
src/support/docstream.cpp
src/support/docstream.h