mirror of
https://github.com/boostorg/exception.git
synced 2025-07-21 00:12:07 +02:00
minor to_string fix
[SVN r44419]
This commit is contained in:
@ -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())) };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user