#include <algorithm>
#include <iostream>
#include <string>
Go to the source code of this file.
|
position & | yy::operator+= (position &res, const int width) |
| Add and assign a position. More...
|
|
const position | yy::operator+ (const position &begin, const int width) |
| Add two position objects. More...
|
|
position & | yy::operator-= (position &res, const int width) |
| Add and assign a position. More...
|
|
const position | yy::operator- (const position &begin, const int width) |
| Add two position objects. More...
|
|
bool | yy::operator== (const position &pos1, const position &pos2) |
| Compare two position objects. More...
|
|
bool | yy::operator!= (const position &pos1, const position &pos2) |
| Compare two position objects. More...
|
|
template<typename YYChar > |
std::basic_ostream< YYChar > & | yy::operator<< (std::basic_ostream< YYChar > &ostr, const position &pos) |
| Intercept output stream redirection. More...
|
|
Define the yy::position class.
Definition in file position.hh.