Howard Hinnant <[EMAIL PROTECTED]> writes:
> On Monday, January 6, 2003, at 06:50 PM, David Abrahams wrote:
>
> Or maybe even just:
>
>template
>struct my_container
> : if_::value, impl1, impl2>::type
^^^
you'd have to drop that part (yes, it's magic ).
>
- Original Message -
From: "Greg Colvin" <[EMAIL PROTECTED]>
> At 08:19 PM 1/6/2003, Joel de Guzman wrote:
> >- Original Message -
> >From: "David Abrahams" <[EMAIL PROTECTED]>
> >...
> >> > P.S. Outputting "Hello, world" in a way that generates significantly
> >> > more code th
At 08:19 PM 1/6/2003, Joel de Guzman wrote:
>- Original Message -
>From: "David Abrahams" <[EMAIL PROTECTED]>
>...
>> > P.S. Outputting "Hello, world" in a way that generates significantly
>> > more code than the run-time version is probably not a good way to
>> > endear users to metaprogr
- Original Message -
From: "David Abrahams" <[EMAIL PROTECTED]>
> "David B. Held" <[EMAIL PROTECTED]> writes:
>
> > "David Abrahams" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >> Yitzhak Sapir <[EMAIL PROTECTED]> writes:
> >>
> >> > I think s
On Monday, January 6, 2003, at 06:50 PM, David Abrahams wrote:
OK, I see your point. How about:
template
struct my_container
: if_<
and_<
is_pointer
, is_POD >
, impl1
, impl2
::type
{
...
};
Or maybe even just
At 09:13 PM 1/6/2003, Dietmar Kuehl wrote:
>Since the Boost list has gotten (IMO) a little bit out of hand ...
Have you tried the newsgroup interface? See
news://news.gmane.org/gmane.comp.lib.boost.devel
--Beman
___
Unsubscribe & other changes: htt
Beman,
Thanks for the clarifications - I thought I had followed the whole thread
but I had misunderstood and thought the thrust was to create a new path
representation -
on 1/6/03 1:51 PM, Beman Dawes at [EMAIL PROTECTED] wrote:
> The syntax, semantics, and about everything else about paths that
"David Abrahams" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Howard Hinnant <[EMAIL PROTECTED]> writes:
>
> OK, I see your point. How about:
>
> template
> struct my_container
> : if_<
> and_<
>is_pointer
> ,
Howard Hinnant <[EMAIL PROTECTED]> writes:
> I would be careful that your target audience doesn't look at the
> "helloworld" and say, gee, why don't I just use existing language
> features:
>
>template
>struct my_container
>{
> // impl2 ...
>};
>
>template
>struct my
"Howard Hinnant" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> [...]
> I would be careful that your target audience doesn't look at the
> "helloworld" and say, gee, why don't I just use existing language
> features:
> [...]
There's a point. Maybe using a trai
On Monday 06 January 2003 03:52 am, Alberto Barbati wrote:
> I hope that in front of a full-blown and working
> library I might get more attention.
Since the Boost list has gotten (IMO) a little bit out of hand, I just haven't
seen the previous mail. Actually, it was lucky I came across this one..
>From: "Yitzhak Sapir" <[EMAIL PROTECTED]>
> I think storing the text "Hello world!" in a vector
>
> typedef vector13_c 'H','e','l','l','o',' ',
> 'w','o','r','l','d','!','\n'> hello_world;
>
> And then using functors to print it such as:
>
> template struct print
> {
> static void ev
On Monday, January 6, 2003, at 01:14 PM, David B. Held wrote:
While this is a cute idea, my first impression would be: "Uh...is this
really something I could use in my own code?" On the other hand,
I seem to use compile-time if more than anything else, even in "user
code". I suspect that most
>From: "Alisdair Meredith" <[EMAIL PROTECTED]>
> Terje Slettebø wrote:
>
> > The results don't necessarily have to be printed out at
> > compile-time (Erwin Unruh printed the results using compiler-warnings,
but
> > that is of course highly implementation dependent).
>
> > "Hello, world" in compil
At 02:35 PM 1/5/2003, Sean Parent wrote:
>on 1/5/03 10:21 AM, Beman Dawes at [EMAIL PROTECTED] wrote:
>
>> I had a conversation with Bill Plauger, Howard Hinnant, and several
other
>> library implementors at the last C++ committee meeting, and we agreed
on
>> a possible approach to the conversio
"David B. Held" <[EMAIL PROTECTED]> writes:
> "David Abrahams" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> Yitzhak Sapir <[EMAIL PROTECTED]> writes:
>>
>> > I think storing the text "Hello world!" in a vector
>> > [...]
>> > And then using functors to pri
mission of my implementation is the documentation... However,
property maps are described in "The Boost Graph Library" by Jeremy
Siek et al. (Addison-Wesley) and there are tests which can be used to
see how the algorithms can be used. The implementation can be
downloaded from <http://www.
Rani Sharoni posted one possible implementation on http://tinyurl.com/459q
(c.l.c++.m, 2002-07-11, topic 'is_abstract_class implementation!').
The implementation depends on border-case C++ feature (more in Rani's text).
I compiled it sucessfully with Comeau online compiler.
It may be considered
Christophe,
As an alternative, you might look at the intrusive pointer
implementation at http://sourceforge.net/projects/cpputilities/. (Get
the cpputilities_2003_01_04 download and extract the files ptr.h,
target_base.h, pointer.html and target.html.) This is a
fully-documented, STL-compatibl
I still think that this is an important item for a Boost license library (if I
am right in assuming that GMP license does not permit commerical use).
So I look forward to progress on this.
Paul
Dr Paul A Bristow, hetp Chromatography
Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK
+44 1539 561830
[William Kempf]
> > From: Alberto Barbati <[EMAIL PROTECTED]>
> > Hi Boosters,
> >
> > I have put in the Boost file section the first version of my UTF
> > library. You can find it here:
> >
> > http://groups.yahoo.com/group/boost/files/utf/
> >
> > A couple of months ago, I posted a message to che
"David Abrahams" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Yitzhak Sapir <[EMAIL PROTECTED]> writes:
>
> > I think storing the text "Hello world!" in a vector
> > [...]
> > And then using functors to print it such as:
> [...]
While this is a cute idea, my
Yitzhak Sapir <[EMAIL PROTECTED]> writes:
> I think storing the text "Hello world!" in a vector
>
> typedef vector13_c 'H','e','l','l','o',' ',
> 'w','o','r','l','d','!','\n'> hello_world;
>
> And then using functors to print it such as:
>
> template struct print
> {
> static void eva
> From: Alberto Barbati <[EMAIL PROTECTED]>
> Hi Boosters,
>
> I have put in the Boost file section the first version of my UTF
> library. You can find it here:
>
> http://groups.yahoo.com/group/boost/files/utf/
>
> A couple of months ago, I posted a message to check if there was
> interest in
David Abrahams wrote:
> My current working idea is really simple:
>
> struct impl1 { ... };
> struct impl2 { ... };
>
> template
> struct my_container : if_, impl1, impl2>::type
> {
> ...
> };
>
> This is something I want to do all the time; it lets you swap out a
> completely
I think storing the text "Hello world!" in a vector
typedef vector13_c hello_world;
And then using functors to print it such as:
template struct print
{
static void eval()
{
Prev::eval();
std::cout.put(T::value);
}
};
fold::type::eval();
would work as an hello worl
Alisdair Meredith <[EMAIL PROTECTED]> writes:
> Terje Slettebø wrote:
>
>> The results don't necessarily have to be printed out at
>> compile-time (Erwin Unruh printed the results using compiler-warnings, but
>> that is of course highly implementation dependent).
>
>> "Hello, world" in compile-tim
Terje Slettebø <[EMAIL PROTECTED]> writes:
>>From: "David Abrahams" <[EMAIL PROTECTED]>
>
>> Aleksey and I are trying to think of a simple metaprogramming
>> problem which we could use as a sort of "Hello World" example for
>> the MPL. This seems to be a rather hard problem. Aside from being
>>
Terje Slettebø wrote:
> The results don't necessarily have to be printed out at
> compile-time (Erwin Unruh printed the results using compiler-warnings, but
> that is of course highly implementation dependent).
> "Hello, world" in compile-time programming doesn't necessarily have to be
> the same
Greg Colvin wrote:
> > > If this construct applies a metafuntion to a sequence
> >
> > It does and it doesn't :). Sorry if I wasn't clear about the
> > semantics; it does not apply a metafunction to every element
> > of a sequence;
>
> That would be for_each ?
Almost - 'for_each' only makes s
>From: "David Abrahams" <[EMAIL PROTECTED]>
> Aleksey and I are trying to think of a simple metaprogramming
> problem which we could use as a sort of "Hello World" example for
> the MPL. This seems to be a rather hard problem. Aside from being
> short, a C++ "hello, world" introduces only two li
Hi,
Aleksey and I are trying to think of a simple metaprogramming
problem which we could use as a sort of "Hello World" example for
the MPL. This seems to be a rather hard problem. Aside from being
short, a C++ "hello, world" introduces only two library components,
cout and endl (three if you c
32 matches
Mail list logo