| 11 | // http://stackoverflow.com/questions/31091223/placement-new-return-by-value-and-safely-dispose-temporary-copies |
| 12 | |
| 13 | class ArgStorage { |
| 14 | |
| 15 | public: |
| 16 | |
| 17 | ArgStorage(unsigned int overloadNum) : |
| 18 | overloadNum(overloadNum) {} |
| 19 | |
| 20 | unsigned int getOverloadNum() const { return(overloadNum); } |
| 21 | |
| 22 | private: |
| 23 | |
| 24 | const unsigned int overloadNum; |
| 25 | |
| 26 | }; |
| 27 | |
| 28 | template <typename Bound> |
| 29 | class TemplatedArgStorage : public ArgStorage { |
nothing calls this directly
no outgoing calls
no test coverage detected