Browse Source

Added Jupiter::String to std::string conversion operator.

release/0.19
JustinAJ 10 years ago
parent
commit
f46d686298
  1. 3
      Jupiter/Readable_String.h
  2. BIN
      Release/Jupiter.lib

3
Jupiter/Readable_String.h

@ -313,6 +313,9 @@ namespace Jupiter
inline bool operator>=(const std::basic_string<T> &right)const{ return !operator<(right); }
inline bool operator>=(const T *right)const{ return !operator<(right); }
inline bool operator>=(const T right)const{ return !operator<(right); }
/** Conversion operators */
explicit inline operator std::basic_string<T>() { return std::basic_string<T>(this->ptr(), this->size()); }
};
/** Generic Readable String Type */

BIN
Release/Jupiter.lib

Binary file not shown.
Loading…
Cancel
Save