How's this for a suitable configuration check for static_assert?

        // compile-only test

        static_assert (sizeof (char) == 1, "impossible");

        template <int I> struct S {
            static_assert (I >= 0, "template parameter I must be
non-negative");
        };

Brad.

Reply via email to