summaryrefslogtreecommitdiff
path: root/libraries/euler/cctype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/euler/cctype.cpp')
-rw-r--r--libraries/euler/cctype.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/libraries/euler/cctype.cpp b/libraries/euler/cctype.cpp
new file mode 100644
index 0000000..98234bb
--- /dev/null
+++ b/libraries/euler/cctype.cpp
@@ -0,0 +1,11 @@
+#include <cctype>
+
+namespace std {
+
+ int isspace(int ch) {
+ return
+ ch == ' ' || ch == '\n' || ch == '\t' ||
+ ch == '\r' || ch == '\v' || ch == '\f';
+ }
+
+}