Can we get rid of synfig::String?


#1

Since 16b3beced2 (darco 2005-03-24 21:02:18 +0000), synfig::String is just a (strange/fake) wrap for std::string.

It is defined here:
synfig-core/trunk/src/sinfg/string.h
synfig-core/trunk/src/sinfg/string_decl.h

namespace std
{
template<class _CharT> struct char_traits;
template<> struct char_traits<char>;
template<typename _Alloc> class allocator;
template<typename _CharT, typename _Traits,typename _Alloc>class basic_string;
typedef basic_string<char,char_traits<char>,allocator<char> >    string;

}; // END of namespace std

namespace synfig
{

/*!	\typedef String
**	\todo writeme
*/
typedef std::string String;

}; // END of namespace synfig

I think cleaning the code up is a good action to improve code readability and quality (besides the missing unit-test system). It would help to ease creation of language bindings for a possible script-able plugin system.


#2

Any opinion @KonstantinDmitriev @blackwarthog @ice0 @BobSynfig
?