In the context of operator overloading, what is the difference between a user transformation and a user-defined operator?
"Custom conversions let you specify object conversions with constructors or transform functions. Custom transforms are implicitly used in addition to standard transforms to transform initializers, function arguments, return function values, expression operands, iteration expression management, choice statements, and explicit type conversions."
http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=/com.ibm.xlcpp8a.doc/language/ref/cplr383.htm
, () ++, .
http://www.cs.caltech.edu/courses/cs11/material/cpp/donnie/cpp-ops.html
:
operator DESTTYPE()
, operator , .
operator
(: [class.conv] ++.)
[class.conv]
There is C++no concept of user statements that can be overloaded. Only existing operators, with the exception of a few ( . , . * , :: , ?: , Sizeof ), can be overloaded.
C++
Source: https://habr.com/ru/post/1796440/More articles:Создание безопасного файла cookie для входа в систему - securityConnection tables by field name? (i.e. column order cannot be guaranteed) - sqlProblem with iphone ios: delegate not responding when using dispatch_async - multithreadingIFileDialog / IShellItem :: GetDisplayName does not work with Windows 7 libraries - c ++void output function for txt - c ++Problems with Spring 3 and the Google App engine - javaXamlParseException throws a call to XamlReader.Load - .net-4.0Regex-How to remove a comma that is between "and"? - c #How to insert / delete row / column of WPF grid in context menu in design mode? - visual-studio-2010Compare TCHAR with String value in VC ++? - visual-c ++All Articles