|
Boost : |
From: Gustavo Guerra (gustavobt_at_[hidden])
Date: 2001-12-17 17:41:31
I've been experimenting with the PREPROCESSOR library and I have some
questions:
The docs mention a BOOST_PREPROCESSOR_WHILE but say:
CURRENTLY THIS FEATURE IS FOR INTERNAL USE ONLY!
So why does it even appear on the docs?
Why do the all the arithmetic operations (ADD,SUB,MUL,DIV) use "saturation
arithmetic"?
Why don't just #define BOOST_PREPROCESSOR_ADD(X,Y) X+Y
I'm sure there's a reason, but it would be nice if that appeared in the docs
This happens in all the files, one example:
in coma_if.hpp:
#ifndef BOOST_PREPROCESSOR_COMMA_HPP
# include <boost/preprocessor/comma.hpp>
#endif
in comma.hpp:
#ifndef BOOST_PREPROCESSOR_COMMA_HPP
#define BOOST_PREPROCESSOR_COMMA_HPP
(...)
#endif
Why the first include guards around the #include statement? They aren't
needed
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk