Core: Value: Conversion to std::[w]string removed

git-svn-id: svn://ultimatepp.org/upp/trunk@8252 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-03-10 07:30:21 +00:00
parent 5fb70dc3c0
commit 1fdccfba55
2 changed files with 0 additions and 10 deletions

View file

@ -216,9 +216,6 @@ public:
operator int64() const { return Is(INT64_V) ? GetSmallRaw<int64>() : GetOtherInt64(); }
operator bool() const { return Is(BOOL_V) ? GetSmallRaw<bool>() : 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(); }

View file

@ -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) `&