diff --git a/TinySTL/Bitmap.h b/TinySTL/Bitmap.h index fd1efaf..d3a6299 100644 --- a/TinySTL/Bitmap.h +++ b/TinySTL/Bitmap.h @@ -4,9 +4,10 @@ #include #include #include -#include +//#include #include "Allocator.h" +#include "String.h" #include "UninitializedFunctions.h" namespace TinySTL{ @@ -60,7 +61,8 @@ namespace TinySTL{ bitmap& flip(); bitmap& flip(size_t pos); - std::string to_string() const; + //std::string to_string() const; + string to_string() const; template friend std::ostream& operator <<(std::ostream& os, const bitmap& bm); @@ -177,8 +179,8 @@ namespace TinySTL{ return !any(); } template - std::string bitmap::to_string() const{ - std::string str; + string bitmap::to_string() const{ + string str; uint8_t *ptr = start_; for (; ptr != finish_; ++ptr){ uint8_t n = *ptr;