Any Lite Versions Save

any lite - A C++17-like any, a type-safe container for single values of any type for C++98, C++11 and later in a single-file header-only library

v0.4.0

3 years ago

Release 0.4.0 of any lite contains the following changes and fixes.

Changes:

  • Add export() to CMakeLists.txt enabling importing targets.

Fixes:

  • Fix value move-assignment (#9, thanks @oPiZiL)

v0.3.0

3 years ago

Release 0.3.0 of any lite contains the following changes and fixes.

Changes:

Fixes:

  • Fix construction from value with >=C++11 (#7, thanks to @deepbluev7).
  • Fix implementation of any_REQUIRES_T(), nonstd-lite-project issue 40.

v0.2.0

5 years ago

[to be expanded]

This release of any lite improves support for CMake and Conan and contains numerous other changes and fixes.

See also nonstd lite project Improve coherence between lite projects.

v0.1.0

6 years ago

This release lets nonstd::any use std::any if it's available. Further in addition to build via cmake you can build using buck .

v0.0.0

7 years ago

This is the initial release of any lite.

v0.0.0-alpha

7 years ago

Tests expecting move-construction currently fail.

any.t.cpp(216): failed: any: Allows to in-place move-construct from value (C++11): v.state == moved_from for 10 == 9
any.t.cpp(249): failed: any: Allows to in-place move-construct from initializer-list (C++11): any_cast<InitList>( a ).s.state == move_constructed for 3 == 4
any.t.cpp(305): failed: any: Allows to move-assign from value (C++11): any_cast<V>( a ).state == moved_from for 3 == 9
any.t.cpp(340): failed: any: Allows to move-emplace content (C++11): any_cast<pair_t>( a ).second.state == move_constructed for 3 == 4
any.t.cpp(378): failed: any: Allows to move-emplace content from intializer-list (C++11): any_cast<InitList>( a ).s.state == move_constructed for 3 == 4
any.t.cpp(460): failed: make_any: Allows to in-place move-construct any from arguments via make_any() (C++11): any_cast<pair_t>( a ).second.state == move_constructed for 3 == 4
any.t.cpp(493): failed: make_any: Allows to in-place move-construct any from initializer-list via make_any() (C++11): any_cast<InitList>( a ).s.state == move_constructed for 3 == 4
7 out of 37 selected tests failed.