mirror of
https://github.com/boostorg/test.git
synced 2026-01-30 08:22:12 +00:00
aece067770203cdff62baaab494599bb1f2d4a3d
Most of the difficulty came from the fact that c-strings are also c-arrays, but comparisons are made in a different way (eg. not considering the last \0 element in the computation of the size, etc) - is_forward_iterable now just checks if the type has accessors that makes it forward iterable (no size member function for instance) - new concept: is_forward_container_iterable that looks for forward_iterable access + size and specific types. This is needed in order to disambiguate the dataset creation for arrays from the ones for collections - is_cstring is now only for the C-string type of arrays. std::string and basic_cstring are not a C-strings anymore - new concept is_cstring_comparable: indicates that types can be compared as if they were strings - new concept for converting types to a basic_cstring, used for comparisons - wrapper for accessing the begin/end/size (works for containers and C-arrays - copy ctor for basic_cstring - boost.range(begin/end) does not work well for array types
This is the main directory for the Boost Test Library.
(Not to be confused with a directory containing test programs for the parent directory.)
Full instructions for use of this library can be accessed from http://www.boost.org/doc/libs/release/libs/test/
This library is part of boost (see www.boost.org), the latest version of the library is available from the boost web site, or development snapshots from the boost git repository at https://github.com/boostorg/test
Copyright 2001-2014, Gennadiy Rozental.
Copyright 2013-2015, Boost.Test team.
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)
Languages
C++
99%
CMake
0.9%
