mirror of
https://github.com/boostorg/core.git
synced 2025-11-28 21:30:09 +01:00
17 lines
286 B
C++
17 lines
286 B
C++
// Copyright 2025 Peter Dimov
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// https://www.boost.org/LICENSE_1_0.txt
|
|
|
|
#include <boost/core/static_assert.hpp>
|
|
|
|
template<int C> struct X
|
|
{
|
|
BOOST_CORE_STATIC_ASSERT( C >= 0 );
|
|
};
|
|
|
|
int main()
|
|
{
|
|
X<4> x;
|
|
(void)x;
|
|
}
|