]> git.lyx.org Git - features.git/commit
First version of trivstring class (bug #9336)
authorGeorg Baum <baum@lyx.org>
Sun, 7 Dec 2014 09:50:18 +0000 (10:50 +0100)
committerGeorg Baum <baum@lyx.org>
Sun, 7 Dec 2014 12:14:17 +0000 (13:14 +0100)
commit46f7b578b2bb1313afaacf3f75ffb15ccaae7bd2
tree8262f31b6169351f5c8a63dac9af7cc7237f8eea
parent2614d5a386383e31c7c9d51b323d1c6454f27795
First version of trivstring class (bug #9336)

As discused on the list. This is not used yet, but it is intended to provide
thread-safe read-access without the need for synchronization if the used STL
implementation does not provide it for std::basic_string. This is the case for
all implementations using copy-on-write.
src/support/tests/check_trivstring.cpp [new file with mode: 0644]
src/support/tests/regfiles/trivstring [new file with mode: 0644]
src/support/tests/test_trivstring [new file with mode: 0755]
src/support/trivstring.cpp [new file with mode: 0644]
src/support/trivstring.h [new file with mode: 0644]