X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fstring_vector.cpp;fp=src%2Fstlplus%2Fstrings%2Fstring_vector.cpp;h=0000000000000000000000000000000000000000;hp=66868bcca2b15e3b7b78b297c2966048064580c2;hb=574af38ed616d1adfa5e6ce35f67cda1f707f89d;hpb=6c9943707d4f33035830eba0587a61a34eaecbc2 diff --git a/src/stlplus/strings/string_vector.cpp b/src/stlplus/strings/string_vector.cpp deleted file mode 100644 index 66868bc..0000000 --- a/src/stlplus/strings/string_vector.cpp +++ /dev/null @@ -1,27 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// - -// Author: Andy Rushton -// Copyright: (c) Southampton University 1999-2004 -// (c) Andy Rushton 2004-2009 -// License: BSD License, see ../docs/license.html - -//////////////////////////////////////////////////////////////////////////////// -#include "string_vector.hpp" - -namespace stlplus -{ - - //////////////////////////////////////////////////////////////////////////////// - // special case of vector - - std::string bool_vector_to_string(const std::vector& values) - { - std::string result; - for (size_t i = 0; i < values.size(); i++) - result.append(1, values[i] ? '1' : '0'); - return result; - } - - //////////////////////////////////////////////////////////////////////////////// - -} // end namespace stlplus