No, you can’t overload op.*
:
[C++03 & C++11: 13.5/3]:
The following operators cannot be overloaded:. .* :: ?:
More Related Contents:
- why float and double does not identify 0 in decimal places [duplicate]
- Rotating a point about another point (2D)
- Print leading zeros with C++ output operator?
- How to parse space-separated floats in C++ quickly?
- How does generic lambda work in C++14?
- Generate random numbers following a normal distribution in C/C++
- “X does not name a type” error in C++
- How to initialize std::array elegantly if T is not default constructible?
- Why shared_from_this can’t be used in constructor from technical standpoint?
- Can we overload operators for built-in types like int or float?
- How can I use polymorphic attributes with boost::spirit::qi parsers?
- Return a “NULL” object if search result not found
- C++ unit testing framework [closed]
- Implementing multiple interfaces in c++
- How to iterate over a priority_queue?
- Calling a const function rather than its non-const version
- Is it possible to determine if a type is a scoped enumeration type?
- Order of execution in operator
- qt thread with movetothread
- in Visual Studio 2010 or 2008 [duplicate]
- How to escape a string for use in Boost Regex
- fstream won’t create a file [duplicate]
- C++ Using Class Method as a Function Pointer Type
- EXE or DLL Image base address
- C++ [Windows] Path to the folder where the executable is located [duplicate]
- how copy from one stringstream object to another in C++?
- How to compare strings
- What is the class keyword before a function argument?
- When and why would you use static with constexpr?
- How does “using std::swap” enable ADL?