23 lines
426 B
C++
23 lines
426 B
C++
|
#ifndef RFL_PARSING_IS_FORWARD_LIST_HPP_
|
||
|
#define RFL_PARSING_IS_FORWARD_LIST_HPP_
|
||
|
|
||
|
#include <forward_list>
|
||
|
#include <type_traits>
|
||
|
|
||
|
namespace rfl {
|
||
|
namespace parsing {
|
||
|
|
||
|
template <class T>
|
||
|
class is_forward_list;
|
||
|
|
||
|
template <class T>
|
||
|
class is_forward_list : public std::false_type {};
|
||
|
|
||
|
template <class T>
|
||
|
class is_forward_list<std::forward_list<T>> : public std::true_type {};
|
||
|
|
||
|
} // namespace parsing
|
||
|
} // namespace rfl
|
||
|
|
||
|
#endif
|