2024-05-31 22:59:00 -04:00
|
|
|
#ifndef RFL_PARSING_AREREADERANDWRITER_HPP_
|
|
|
|
#define RFL_PARSING_AREREADERANDWRITER_HPP_
|
|
|
|
|
|
|
|
#include "IsReader.hpp"
|
|
|
|
#include "IsWriter.hpp"
|
|
|
|
|
|
|
|
namespace rfl {
|
2024-06-08 14:10:59 -04:00
|
|
|
namespace parsing {
|
2024-05-31 22:59:00 -04:00
|
|
|
|
2024-06-08 14:10:59 -04:00
|
|
|
template <class R, class W, class T>
|
|
|
|
concept AreReaderAndWriter = IsReader<R, T> && IsWriter<W, T>;
|
2024-05-31 22:59:00 -04:00
|
|
|
|
2024-06-08 14:10:59 -04:00
|
|
|
} // namespace parsing
|
|
|
|
} // namespace rfl
|
2024-05-31 22:59:00 -04:00
|
|
|
|
|
|
|
#endif
|