mirror of
https://github.com/VictorEijkhout/TheArtOfHPC_vol3_cppf08programming.git
synced 2026-01-24 22:44:48 +09:00
10 lines
197 B
C++
10 lines
197 B
C++
#include <tuple>
|
|
class coordinate : public std::pair<float,float> {
|
|
public:
|
|
coordinate( float x,float y ){};
|
|
coordinate operator*( float rate ) const {
|
|
return coordinate(0.f,0.f);
|
|
};
|
|
};
|
|
|