summaryrefslogtreecommitdiff
path: root/src/character.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/character.hh')
-rw-r--r--src/character.hh18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/character.hh b/src/character.hh
new file mode 100644
index 0000000..18f98d8
--- /dev/null
+++ b/src/character.hh
@@ -0,0 +1,18 @@
+// -*- mode: c++; c-basic-offset: 2; -*-
+
+#ifndef CHARACTER_HH
+#define CHARACTER_HH
+
+#include <string>
+
+class Character {
+public:
+ static bool isspace(std::string const& str, size_t pos);
+ static bool isseparator(std::string const& str, size_t pos);
+
+private:
+ ~Character() {}
+ Character() {}
+};
+
+#endif // CHARACTER_HH