The framework provides a couple of predefined objects for parsing signed and unsigned integers and real numbers. The following table enumerates the numeric parsers available.
uint_p Unsigned integers int_p Signed integers ureal_p Unsigned floating point numbers C/C++ format, e.g. 123.456E78 real_p Signed Floating point numbers C/C++ format, e.g. -123.456E78
These objects are parser functors designed to be used within expressions. Here's an example of a rule that parses comma delimited list of numbers:list_of_numbers = real_p >> *(',' >> real_p);
Later, we shall see how we can extract the actual numbers parsed by the numeric parsers. We shall deal with this when we get to the section on specialized actions.