Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-11-11 07:19:46

Tobias Schwinger wrote:
> We can probably reduce the cv tags to qualified 'cv' and 'cv_not': "cv const" or "cv_not volatile" (maybe we need an optional pointer on top to work around BCC's const bug, though).

Giving this idea some more thought it might be possible to reduce the number of names significantly.


  would become
    tag const

    tag<const_qualified, variadic>
  would become
    tag const & (...)

    tag<non_const, variadic>
  would become
    tag_not const & (...)

    tag<non_const, non_variadic>
  would become
    tag_not const & ()

    tag<non_const, variadic>
  would become
    tag_not const & (...)

    tag<non_const, volatile_qualified, variadic>
  would become
    tag_not const * volatile & (...)

    tag<default_cc, const_qualified, non_variadic>
  would become
    default_cc :: tag const & ()

Names left:

  // ... custom calling conventions

I'm not sure it would be more usable, though...



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