Boost logo

Boost :

Subject: Re: [boost] [Boost-users] [Review] Type Traits Extension by Frederic Bron - Review summary and decision
From: Stewart, Robert (Robert.Stewart_at_[hidden])
Date: 2011-03-28 08:57:43


Joachim Faulhaber wrote:
> 2011/3/28 Stewart, Robert <Robert.Stewart_at_[hidden]>:
> > Joachim Faulhaber wrote:
> >> 2011/3/27 Frédéric Bron <frederic.bron_at_[hidden]>:
> >> >
> >> > What about is_callable_plus, is_callable_plus_assign, ...
> >> > i.e. is_callable_xxxx where xxxx the same as in Boost.Proto?
> >> >
> >> > I know that is_xxxx_callable reads better but I like to have
> >> > a common prefix longer than is_.
> >>
> >> Is there any problem related to using a short prefix like
> >> "is_"?
> >
> > I like short prefixes when they are meaningful, but
> > is_add/is_addition/is_plus means nothing.
>
> sigh ... I assume this is clear for everyone, particularly as
> Frédéric's proposal has an additional suffix _callable in combination
> here.

I'm sorry to frustrate you, but I took the foregoing to ask whether something like "is_plus" would work.

> I am particularly interested if there is a rational against a short
> prefix *in general* as Frédéric's statement
>
> >>> ... but I like to have a common prefix longer than is_.
>
> seem to imply such a general rule. Frédéric, are you generally prefer
> prefix name extensions? Why not consider suffixes, if they read
> better, e.g.

I have no problem with a short prefix per se.

_____
Rob Stewart robert.stewart_at_[hidden]
Software Engineer using std::disclaimer;
Dev Tools & Components
Susquehanna International Group, LLP http://www.sig.com

IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk