AimRT/_deps/boost-src/libs/mpl/test/assert_vc8.hpp
2025-01-12 20:41:24 +08:00

29 lines
556 B
C++

// Copyright Robin Linden 2018
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Id$
// $Date$
// $Revision$
// Part of a test to demonstrate a linking error with
// BOOST_MPL_ASSERT_MSG inside of functions under VC++8.
#include <boost/mpl/assert.hpp>
template<class T>
bool func()
{
BOOST_MPL_ASSERT_MSG(
true,
ALWAYS_TRUE,
(T));
return true;
}