fixed_string.hpp
//! Explicitly define constructor or else the
//! compiler will create a shared pointer
//! between two fixed_strings.
//! <N> != <M>
Explicitly define constructor or else the
compiler will create a shared pointer
between two fixed_strings.
Explicitly define constructor or else the compiler will create a shared pointer between two fixed_strings .
fixed_string(const fixed_string<N> & rhs) :
			fixed_string<0>(contents, length) {
		for (char c : iter(rhs))
			fixed_string<0>::append(c);
	}
fixed_string ( const fixed_string < N > & rhs ) : fixed_string < 0 > ( contents , length ) { for ( char c : iter ( rhs ) ) fixed_string < 0 > :: append ( c ) ; }
Explicitly define constructor or else the
compiler will create a shared pointer
between two fixed_strings.
Explicitly define constructor or else the compiler will create a shared pointer between two fixed_strings .