mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-04 13:11:09 -05:00
22 lines
593 B
C++
22 lines
593 B
C++
|
// Copyright (c) 2020-2022 Dr. Colin Hirsch and Daniel Frey
|
||
|
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
|
||
|
|
||
|
#ifndef TAO_PEGTL_INTERNAL_HAS_UNWIND_HPP
|
||
|
#define TAO_PEGTL_INTERNAL_HAS_UNWIND_HPP
|
||
|
|
||
|
#include <utility>
|
||
|
|
||
|
#include "../config.hpp"
|
||
|
|
||
|
namespace TAO_PEGTL_NAMESPACE::internal
|
||
|
{
|
||
|
template< typename, typename... >
|
||
|
inline constexpr bool has_unwind = false;
|
||
|
|
||
|
template< typename C, typename... S >
|
||
|
inline constexpr bool has_unwind< C, decltype( C::unwind( std::declval< S >()... ) ), S... > = true;
|
||
|
|
||
|
} // namespace TAO_PEGTL_NAMESPACE::internal
|
||
|
|
||
|
#endif
|