diff options
Diffstat (limited to 'trunk/CIAO/CIDLC/Upcase.hpp')
| -rw-r--r-- | trunk/CIAO/CIDLC/Upcase.hpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/trunk/CIAO/CIDLC/Upcase.hpp b/trunk/CIAO/CIDLC/Upcase.hpp deleted file mode 100644 index ca30079bd98..00000000000 --- a/trunk/CIAO/CIDLC/Upcase.hpp +++ /dev/null @@ -1,30 +0,0 @@ -// file : CIDLC/Upcase.hpp -// author : Jeff Parsons <j.parsons@vanderbilt.edu> -// cvs-id : $Id$ - -#ifndef UPCASE_HPP -#define UPCASE_HPP - -#include <cctype> - -namespace -{ - // On some platforms toupper can be something other than a - // function. - int - upcase (int c) - { - return std::toupper (c); - } - - void - str_upcase (std::string &str) - { - std::transform (str.begin (), - str.end (), - str.begin (), - upcase); - } -} - -#endif // UPCASE_HPP |
