minor to_string fix

[SVN r44419]
This commit is contained in:
Emil Dotchevski
2008-04-14 17:31:38 +00:00
parent 9bac76a06d
commit 08607bca72

View File

@ -33,7 +33,8 @@ boost
struct struct
has_to_string_impl<T,false> has_to_string_impl<T,false>
{ {
enum e { value=1!=sizeof(to_string(*(T*)0)) }; static T const & f();
enum e { value=1!=sizeof(to_string(f())) };
}; };
} }