mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Tidy up tests, build scripts, and documentation:
* Concepts split up into individual files * Function definitions moved to .ipp files * Add more tests to fill gaps in coverage * Fix documentation Xsl
This commit is contained in:
25
test/buffer_concepts.cpp
Normal file
25
test/buffer_concepts.cpp
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// Copyright (c) 2013-2016 Vinnie Falco (vinnie dot falco at gmail dot 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)
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <beast/buffer_concepts.hpp>
|
||||
|
||||
namespace beast {
|
||||
|
||||
namespace {
|
||||
struct T
|
||||
{
|
||||
};
|
||||
}
|
||||
|
||||
static_assert(is_ConstBufferSequence<detail::ConstBufferSequence>::value, "");
|
||||
static_assert(! is_ConstBufferSequence<T>::value, "");
|
||||
|
||||
static_assert(is_MutableBufferSequence<detail::MutableBufferSequence>::value, "");
|
||||
static_assert(! is_MutableBufferSequence<T>::value, "");
|
||||
|
||||
} // beast
|
||||
Reference in New Issue
Block a user