Files
range/test/cmake_install_test/main.cpp
2026-02-06 21:38:09 +02:00

20 lines
438 B
C++

// Copyright 2026 Peter Dimov
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
#undef NDEBUG
#include <boost/range.hpp>
#include <string>
#include <cassert>
int main()
{
std::string s( "foo" );
assert( boost::begin( s ) == s.begin() );
assert( boost::end( s ) == s.end() );
assert( boost::empty( s ) == s.empty() );
assert( boost::size( s ) == s.size() );
}