Boost logo

Boost :

From: Chris Uzdavinis (chris_at_[hidden])
Date: 2005-06-02 09:39:49

"Arkadiy Vertleyb" <vertleyb_at_[hidden]> writes:

> Therefore, if you have an interest in this library, please make sure to take
> a look at it, and send us your feedback -- it is welcome, and will
> definitely be considered.

Hi, I have not reviewed the source code, and just downloaded it today
in fact. However, I do have some questions after reading the
documentation, and some suggestions for it.

   macro is used in .hpp or .cpp files. I'm curious how it works in a
   .hpp file if that file is included in multiple .cpp files. Does it
   create a new group for the same types in each file?

2) In the reference section, sample code for BOOST_AUTO and for
   LVALUE_TYPEOF, the code shows a declaration for main with a
   return type of "void", but that is not valid C++. main must be
   declared to return an integer. (Yeah, I'm pedantic.)

3) In the reference section, for INTEGRAL, there is a user-defined
   enum named "color", but it is not registered with the typeof
   library. However, in the tutorial section, the text reads,

      "If your define your own type, the Typeof Library cannot handle
      it unless you let it know about this type."

   So either there are some cases where it's not necessary to
   register, or perhaps the sample code is wrong?

   NOTE: under the REGISTER_TYPE section, it does show an enum being
   registered. Thus, now I'm confused. :)

4) In the reference section, LIMIT_FUNCTION_ARITY has a typo:

      "... are supported for functios,"
   "functions" is missing the 'n'.

5) The REGISTER_TEMPLATE sample code does not show how to register a
   template with template-template parameters, but it describes it.
   Later, under the docs for TEMPLATE there is an example. Perhaps
   REGISTER_TEMPLATE should indicate that an example for
   template-template parameter usage appears there, or somehow these
   could be tied together more.

6) Thats all for now. :) This library looks pretty cool.


Boost list run by bdawes at, gregod at, cpdaniel at, john at