mirror of
https://github.com/boostorg/json.git
synced 2026-02-09 23:22:27 +00:00
26 lines
534 B
C++
26 lines
534 B
C++
//
|
|
// Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
|
|
//
|
|
// 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)
|
|
//
|
|
// Official repository: https://github.com/cppalliance/json
|
|
//
|
|
|
|
// Test that header file is self-contained.
|
|
#include <boost/json/except.hpp>
|
|
|
|
#include <boost/json/storage_ptr.hpp>
|
|
|
|
namespace boost {
|
|
namespace json {
|
|
|
|
void test()
|
|
{
|
|
struct T{};
|
|
static_assert(! is_deallocate_trivial<T>::value, "");
|
|
}
|
|
|
|
}
|
|
}
|