draconisplusplus/include/rfl/parsing/is_forward_list.hpp

23 lines
426 B
C++
Raw Normal View History

2024-05-31 22:59:00 -04:00
#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