Update of /cvsroot/boost/boost/libs/wave/samples/real_positions
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8366/libs/wave/samples/real_positions
Modified Files:
real_position_token.hpp
Log Message:
Wave: Added the is_empty() function to token classes, returning true if the
token has been initialized to be the end of input token (T_EOI).
Index: real_position_token.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/libs/wave/samples/real_positions/real_position_token.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- real_position_token.hpp 20 Dec 2006 16:55:55 -0000 1.3
+++ real_position_token.hpp 3 Apr 2007 13:12:53 -0000 1.4
@@ -55,6 +55,7 @@
position_type const &get_position() const { return pos; }
position_type const &get_corrected_position() const
{ return corrected_pos; }
+ bool is_empty() const { id == T_EOI; }
void set_token_id (boost::wave::token_id id_) { id = id_; }
void set_value (string_type const &value_) { value = value_; }
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs