WIP: invoke c++17 rework
This commit is contained in:
parent
45f4155b6d
commit
d712294190
@ -265,7 +265,7 @@ namespace meta {
|
||||
//! @{
|
||||
namespace back_impl {
|
||||
template <typename List>
|
||||
struct back_ { };
|
||||
struct back_ { using type = nil_; };
|
||||
|
||||
template <typename Head, typename... Tail>
|
||||
struct back_<typelist<Head, Tail...>> {
|
||||
|
@ -21,7 +21,7 @@
|
||||
//! @{
|
||||
namespace utl {
|
||||
|
||||
#if !defined __cpp_lib_is_invocable
|
||||
//#if !defined __cpp_lib_is_invocable
|
||||
namespace detail {
|
||||
|
||||
template <class T>
|
||||
@ -216,9 +216,10 @@ namespace utl {
|
||||
>;
|
||||
//! @}
|
||||
|
||||
#else
|
||||
|
||||
#endif
|
||||
//#else
|
||||
//using is_invocable = std::is_invocable;
|
||||
//
|
||||
//#endif
|
||||
}
|
||||
|
||||
//! @}
|
||||
|
@ -19,11 +19,14 @@
|
||||
*
|
||||
*/
|
||||
#include <gtest/gtest.h>
|
||||
#include <exception>
|
||||
|
||||
GTEST_API_ int main(int argc, char **argv) {
|
||||
GTEST_API_ int main(int argc, char **argv) try {
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
||||
catch (std::exception& e) {
|
||||
std::cout << "Exception: " << e.what() << '\n';
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user