any.hpp
Go to the documentation of this file.
1 #pragma once
2 
11 #include <type_traits>
12 
13 #include <cras_cpp_common/external/any-lite/any.hpp>
14 
15 namespace cras
16 {
17 
18 using ::nonstd::any;
19 using ::nonstd::any_cast;
20 using ::nonstd::make_any;
21 using ::nonstd::swap;
22 using ::nonstd::bad_any_cast;
23 
28 template<typename T>
29 struct is_any : public ::std::false_type {};
30 
34 template<>
35 struct is_any<::cras::any> : public ::std::true_type {};
36 
37 }
cras
Definition: any.hpp:15
cras::is_any
Type trait determining whether type T is cras::any or not.
Definition: any.hpp:29


cras_cpp_common
Author(s): Martin Pecka
autogenerated on Sun Jan 14 2024 03:48:14