Sha256: 7e9facc4b77d0a8e8df5d36afaf77bfe26aff506b6ede16d1cdc9433093708b8
Contents?: true
Size: 289 Bytes
Versions: 13
Compression:
Stored size: 289 Bytes
Contents
#ifndef __UNITS_H__ #define __UNITS_H__ #include <ostream>; #include <string>; using namespace std; class Unit { friend ostream &operator<<( ostream &out, Unit &unit ); public: Unit() : name( "Mile" ) {} string to_string(); private: string name; }; #endif // ndef __UNITS_H__
Version data entries
13 entries across 13 versions & 1 rubygems