12345678910111213141516171819202122232425262728 |
- #ifndef LS_STD_FILE_PATH_MATCH_HPP
- #define LS_STD_FILE_PATH_MATCH_HPP
- #include "FilePathSeparator.hpp"
- namespace ls::std::io
- {
- struct FilePathSeparatorMatch // TODO: turn to class, rather than keeping it as struct
- {
- public:
- bool operator()(char _char) const
- {
- return _char == ls::std::io::FilePathSeparator::getWindowsFilePathSeparator() || _char == ls::std::io::FilePathSeparator::getUnixFilePathSeparator();
- }
- };
- }
- #endif
|