summaryrefslogtreecommitdiff
path: root/src/character.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-02-28 21:50:44 +0100
committerJoel Klinghed <the_jk@yahoo.com>2017-02-28 21:50:44 +0100
commitc029d90d1975e124d237605f1edb2be16bd05b5d (patch)
tree9df87ffb365354bdb74a969440b32c8304bdbcb7 /src/character.hh
Initial commit
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