diff --git a/include/boost/concept_archetype.hpp b/include/boost/concept_archetype.hpp index eff3296..4b0cc11 100644 --- a/include/boost/concept_archetype.hpp +++ b/include/boost/concept_archetype.hpp @@ -52,12 +52,13 @@ namespace boost { // is really quite innocent. The name of this class needs to be // changed. template - class static_object { + class static_object + { public: - static T& get() { - static char d[sizeof(T)]; - return *reinterpret_cast(d); - } + static T& get() + { + return *reinterpret_cast(0); + } }; template >