diff --git a/uppsrc/Core/Value.h b/uppsrc/Core/Value.h index 6b0b72c95..01deaf5e7 100644 --- a/uppsrc/Core/Value.h +++ b/uppsrc/Core/Value.h @@ -216,9 +216,6 @@ public: operator int64() const { return Is(INT64_V) ? GetSmallRaw() : GetOtherInt64(); } operator bool() const { return Is(BOOL_V) ? GetSmallRaw() : GetOtherBool(); } - operator std::string() const { return ((String)*this).ToStd(); } - operator std::wstring() const { return ((WString)*this).ToStd(); } - Value(const String& s) : data(s) { Magic(); } Value(const WString& s); Value(const char *s) : data(s) { Magic(); } diff --git a/uppsrc/Core/src.tpp/Value$en-us.tpp b/uppsrc/Core/src.tpp/Value$en-us.tpp index f48922993..68a8f02f4 100644 --- a/uppsrc/Core/src.tpp/Value$en-us.tpp +++ b/uppsrc/Core/src.tpp/Value$en-us.tpp @@ -131,13 +131,6 @@ ValueArray or ValueMap (technical and performance reasons).&] [s5;:Value`:`:Value`(Time`):%- [* Value]([_^Time^ Time]_[*@3 t])&] [s2; Support of direct T`->Value and Value`->T conversions of standard Value types. If conversion is not possible, throws ValueTypeError.&] -[s3; &] -[s4;%- &] -[s5;:Value`:`:operator std`:`:string`(`)const:%- [* operator_std`::string]()_[@(0.0.255) c -onst]&] -[s5;:Value`:`:operator std`:`:wstring`(`)const:%- [* operator_std`::wstring]()_[@(0.0.255) c -onst]&] -[s2; Converts Value to `[W`]String and then to std`::`[w`]string.&] [s3;%- &] [s4;%- &] [s5;:Value`:`:Value`(const Nuller`&`):%- [* Value]([@(0.0.255) const]_[_^Nuller^ Nuller][@(0.0.255) `&