The Battle for Wesnoth  1.19.5+dev
Namespaces
any.hpp File Reference

MacOS doesn't support std::any_cast when targing MacOS < 10.14 (currently we target 10.11). More...

#include <any>
Include dependency graph for any.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 utils
 

Detailed Description

MacOS doesn't support std::any_cast when targing MacOS < 10.14 (currently we target 10.11).

This provides a wrapper around the STL variant API on all platforms except MacOS, which instead utilizes boost::any.

Definition in file any.hpp.