🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Ralf B. Lukner Fri, 04 Aug 1995 04:40
[Q]Simplify: foo == fooTClass<double,double>(1,2);
#1475
Author: Ralf B. Lukner
Date: Fri, 04 Aug 1995 04:40
13 lines
744 bytes
Is there a C++ operator that will let me do the following for 
template<TNumeric1,TNumeric2> class foo ...

foo == {1,2};   // Just testing for equality.

instead of foo == fooTClass<double,double>(1,2);

If there is, can I also create an operator for foo = {1,2} in a similar manner?

Just wondering,
--Ralf

(Please respond by e-mail)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads