text
stringlengths
0
2.2M
//: functions and types:
//:
//: o Functions defined in '<algorithm>'
//: o 'all_of'
//: o 'any_of'
//: o 'copy_if'
//: o 'copy_n'
//: o 'find_if_not'
//: o 'is_heap'
//: o 'is_heap_until'
//: o 'is_partitioned'
//: o 'is_permutation'
//: o 'is_sorted'
//: o 'is_sorted_until'
//: o 'minmax'
//: o 'minmax_element'
//: o 'move'
//: o 'move_backward'
//: o 'none_of'
//: o 'partition_copy'
//: o 'partition_point'
//: o 'shuffle'
//:
//: o Types defined in '<atomic>'
//: o atomic class template and specializations for integral types
//:
//: o Functions defined in '<functional>'
//: o 'bind'
//: o 'bit_and'
//: o 'bit_or'
//: o 'bit_xor'
//: o 'cref'
//: o 'is_bind_expression'
//: o 'is_placeholder'
//: o 'mem_fn'
//: o 'ref'
//: o 'reference_wrapper'
//:
//: o Functions defined in '<iomanip>'
//: o 'get_money'
//: o 'put_money'
//:
//: o Functions and types defined in '<ios>'
//: o 'io_errc'
//: o 'iostream_category'
//: o 'is_error_code_enum'
//: o 'make_error_code'
//: o 'make_error_condition'
//: o 'hexfloat'
//: o 'defaultfloat'
//:
//: o Functions defined in '<iterator>'
//: o 'begin'
//: o 'end'
//: o 'move_iterator'
//: o 'make_move_iterator'
//: o 'next'
//: o 'prev'
//:
//: o Function defined in '<locale>'
//: o 'isblank'
//:
//: o Function defined in '<memory>'
//: o 'addressof';
//: o 'uninitialized_copy_n'
//:
//: o Function defined in '<numeric>'
//: o 'iota'
//:
//: o Member function defined in '<typeinfo>'
//: o 'type_info::hash_code'
//:
//: o Function defined in '<utility>'
//: o 'swap'
//
// Plan:
//: 1 When 'BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY' is defined
//: run the 'testSimpleUniformRandomNumberGenerator' function to
//: confirm that the helper class
//: 'SimpleUniformRandomNumberGenerator' -- used in the test of the
//: 'native_std::shuffle' function -- works as expected.
//:
//: 2 When 'BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY' is defined
//: conditionally compile code that includes '<algorithm>',
//: '<atomic>', '<functional>', '<iomanip>', '<iterator>',
//: '<locale>', '<memory>', '<numeric>', '<utility>' and uses each of
//: the listed function templates at least once.
//:
//: 3 When 'BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY' is defined
//: conditionally compile code that includes '<typeindex>' and verify
//: the 'hash_code' method is availble in both 'type_info' and
//: 'type_index'.
//
// Testing:
// BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY
// --------------------------------------------------------------------
if (verbose) printf(
"TESTING 'BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY'\n"
"=========================================================\n");