draconisplusplus/include/rfl/parsing/is_forward_list.hpp
2024-06-08 14:10:59 -04:00

23 lines
452 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