1.29.1 release timeframe?
As the topic says. I do realize that there can be no absolute dates specified, I'd just like to get a hint on whether it's something within the matter of weeks, months or whatever. Thanks // Johan
"Johan Nilsson"
As the topic says. I do realize that there can be no absolute dates specified, I'd just like to get a hint on whether it's something within the matter of weeks, months or whatever.
Nobody's got a clear idea, AFAIK. It depends on lots of factors, many in flux. -- David Abrahams dave@boost-consulting.com * http://www.boost-consulting.com
"Johan Nilsson"
writes: As the topic says. I do realize that there can be no absolute dates specified, I'd just like to get a hint on whether it's something within
"David Abrahams"
matter of weeks, months or whatever.
Nobody's got a clear idea, AFAIK. It depends on lots of factors, many in flux.
Ok, thanks. I guess I'll go for the .0 release instead. // Johan
Hi Everyone, I have a question that may appear somewhat strange-). I am working with Partial Template Specialization and in particular how VC++ 7.1's upcoming compiler supports it 100%. To that end, I would like to look at and compile Boost code that makes particular use of this 1) to make sure it compiles 2) show it working with VC++ 7.1, 3) Able to grok in fairly short period of time and use in small pieces of demo code. I see a lot of interesting possible things in Boost but 2 things that came to mind: Smart Pointers (scoped_ptr) and concepts. Are there better ones for my purposes and/or better "consumers" of partial templates? Tangential question: I have been reading Alexandrescu's Modern C++ Design and am fascinated with his Policy Based Design. I am a novice in the area of Generic Programming (having been in the managed world the last 2 years) but was wondering if these were the same things as Concepts or related? I'm sorry if these questions seem kind of silly but I appreciate everyone's patience. Sam Gentile .NET Consultant ManagedCode@attbi.com http://www.samgentile.com http://radio.weblogs.com/0105852/ [Non-text portions of this message have been removed]
I have a question that may appear somewhat strange-). I am working with Partial Template Specialization and in particular how VC++ 7.1's upcoming compiler supports it 100%. To that end, I would like to look at and compile Boost code that makes particular use of this 1) to make sure it compiles 2) show it working with VC++ 7.1, 3) Able to grok in fairly short period of time and use in small pieces of demo code. I see a lot of interesting possible things in Boost but 2 things that came to mind: Smart Pointers (scoped_ptr) and concepts. Are there better ones for my purposes and/or better "consumers" of partial templates?
I don't know if this answers your question, but VC7.1 correctly handles all of boost as far as I know - in fact boost was used as a test bed for early alpha compiler versions. John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm
Thanks for your reply. Yes, I know. VC++ 7.1 does handle all of Boost correctly and compiles 100% of it correctly. Given that, let me try my question again. What parts of Boost best emplify advanced uses of templates such as Partial Template Specialization and are understandable in small pieces? The goal is to put together a "teaching demo" on things like Partial Template Specialization and then show how it is used in practice in libraries like Boost. Thanks in advance. Sam Gentile .NET Consultant ManagedCode@attbi.com http://www.samgentile.com http://radio.weblogs.com/0105852/ -----Original Message----- From: John Maddock [mailto:john_maddock@compuserve.com] Sent: Saturday, November 09, 2002 6:32 AM To: Boost-Users@yahoogroups.com Subject: Re: [Boost-Users] A strange question-)
I have a question that may appear somewhat strange-). I am working with Partial Template Specialization and in particular how VC++ 7.1's upcoming compiler supports it 100%. To that end, I would like to look at and compile Boost code that makes particular use of this 1) to make sure it compiles 2) show it working with VC++ 7.1, 3) Able to grok in fairly short period of time and use in small pieces of demo code. I see a lot of interesting possible things in Boost but 2 things that came to mind: Smart Pointers (scoped_ptr) and concepts. Are there better ones for my purposes and/or better "consumers" of partial templates?
I don't know if this answers your question, but VC7.1 correctly handles all of boost as far as I know - in fact boost was used as a test bed for early alpha compiler versions. John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. [Non-text portions of this message have been removed]
Thanks for your reply. Yes, I know. VC++ 7.1 does handle all of Boost correctly and compiles 100% of it correctly. Given that, let me try my question again. What parts of Boost best emplify advanced uses of templates such as Partial Template Specialization and are understandable in small pieces? The goal is to put together a "teaching demo" on things like Partial Template Specialization and then show how it is used in practice in libraries like Boost. Thanks in advance.
How about the type traits remove_XXX templates? Or even some of the is_XXX templates, although the latter tend to have rather a lot of workarounds cluttering up the code. John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm
Thanks for your reply. Yes, I know. VC++ 7.1 does handle all of Boost correctly and compiles 100% of it correctly. Given that, let me try my question again. What parts of Boost best emplify advanced uses of templates such as Partial Template Specialization and are understandable in small pieces? The goal is to put together a "teaching demo" on
Ok, I'll look there. Thanks. Sam Gentile .NET Consultant ManagedCode@attbi.com http://www.samgentile.com http://radio.weblogs.com/0105852/ -----Original Message----- From: John Maddock [mailto:john_maddock@compuserve.com] Sent: Sunday, November 10, 2002 7:01 AM To: Boost-Users@yahoogroups.com Subject: Re: [Boost-Users] A strange question-) things
like Partial Template Specialization and then show how it is used in practice in libraries like Boost. Thanks in advance.
How about the type traits remove_XXX templates? Or even some of the is_XXX templates, although the latter tend to have rather a lot of workarounds cluttering up the code. John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. [Non-text portions of this message have been removed]
Thanks for your reply. Yes, I know. VC++ 7.1 does handle all of Boost correctly and compiles 100% of it correctly. Given that, let me try my question again. What parts of Boost best emplify advanced uses of templates such as Partial Template Specialization and are understandable in small pieces? The goal is to put together a "teaching demo" on
I have not been doing a large amount of Standard C++ for the last 2 years and seem to have fallen behind the times-) I'm catching up (reading Alexandrescu) but got a way to go. One of the things that I seem to have missed is traits? What are they? How do they relate to his Policy classes? Since these are not Boost specific questions and are more C++ questions is there a good C++ newsgroup that is recommended as all the books I have don't seem to cover "advanced" topics well. Thanks in advance. Sam Gentile .NET Consultant ManagedCode@nospam.attbi.com http://www.samgentile.com http://radio.weblogs.com/0105852/ -----Original Message----- From: Sam Gentile [mailto:ManagedCode@attbi.com] Sent: Sunday, November 10, 2002 8:43 AM To: Boost-Users@yahoogroups.com Subject: RE: [Boost-Users] A strange question-) Ok, I'll look there. Thanks. Sam Gentile .NET Consultant ManagedCode@attbi.com http://www.samgentile.com http://radio.weblogs.com/0105852/ -----Original Message----- From: John Maddock [mailto:john_maddock@compuserve.com] Sent: Sunday, November 10, 2002 7:01 AM To: Boost-Users@yahoogroups.com Subject: Re: [Boost-Users] A strange question-) things
like Partial Template Specialization and then show how it is used in practice in libraries like Boost. Thanks in advance.
How about the type traits remove_XXX templates? Or even some of the is_XXX templates, although the latter tend to have rather a lot of workarounds cluttering up the code. John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. [Non-text portions of this message have been removed] Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. [Non-text portions of this message have been removed]
On 2002-11-11 3:13 PM, "Sam Gentile"
I have not been doing a large amount of Standard C++ for the last 2 years and seem to have fallen behind the times-) I'm catching up (reading Alexandrescu) but got a way to go. One of the things that I seem to have missed is traits? What are they? How do they relate to his Policy classes? Since these are not Boost specific questions and are more C++ questions is there a good C++ newsgroup that is recommended as all the books I have don't seem to cover "advanced" topics well. Thanks in advance.
I'll answer off-list since this isn't really on topic. Google for Nathan Myers (or just go to http://www.cantrip.org/) to find out about traits from the guy that invented them. Addison Wesley just announced a new book on templates by Josuttis. I've got it on order, but haven't seen it yet. If this book is as well received as his last one was, it will be great. There aren't enough books on generic programming yet. But you can go to http://cuj.com and read back articles including the editors forum to get what is available. -- Jon Kalb Kalb@LibertySoft.com
Thank you so much. This is most helpful.
Sam Gentile
.NET Consultant
ManagedCode@nospam.attbi.com
http://www.samgentile.com
http://radio.weblogs.com/0105852/
-----Original Message-----
From: Jon Kalb [mailto:kalb@LibertySoft.com]
Sent: Monday, November 11, 2002 6:46 PM
To: Boost-Users@yahoogroups.com
Subject: Re: [Boost-Users] A strange question-) What are Traits?
On 2002-11-11 3:13 PM, "Sam Gentile"
I have not been doing a large amount of Standard C++ for the last 2 years and seem to have fallen behind the times-) I'm catching up (reading Alexandrescu) but got a way to go. One of the things that I seem to have missed is traits? What are they? How do they relate to his Policy classes? Since these are not Boost specific questions and are more C++ questions is there a good C++ newsgroup that is recommended as all the books I have don't seem to cover "advanced" topics well. Thanks in advance.
I'll answer off-list since this isn't really on topic. Google for Nathan Myers (or just go to http://www.cantrip.org/) to find out about traits from the guy that invented them. Addison Wesley just announced a new book on templates by Josuttis. I've got it on order, but haven't seen it yet. If this book is as well received as his last one was, it will be great. There aren't enough books on generic programming yet. But you can go to http://cuj.com and read back articles including the editors forum to get what is available. -- Jon Kalb Kalb@LibertySoft.com Yahoo! Groups Sponsor ADVERTISEMENT <http://rd.yahoo.com/M=237459.2482214.3917349.2146399/D=egroupweb/S=1705 006788:HM/A=1267611/R=0/*http:/ad.doubleclick.net/jump/N2524.Yahoo/B1071 650;sz=300x250;ord=1037058332705644?> <http://us.adserver.yahoo.com/l?M=237459.2482214.3917349.2146399/D=egrou pmail/S=:HM/A=1267611/rand=607987839> Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. [Non-text portions of this message have been removed]
Thanks for your reply. Yes, I know. VC++ 7.1 does handle all of Boost correctly and compiles 100% of it correctly. Given that, let me try my question again. What parts of Boost best emplify advanced uses of templates such as Partial Template Specialization and are understandable in small pieces? The goal is to put together a "teaching demo" on
John and others, I went there and indeed it can't get any simpler - at least in theory-) Read the document C:\Boost\boost_1_29_0\libs\type_traits\c++_type_traits.htm and its quite simple: template <typename T> struct is_void { static const bool value = false; }; template <> struct is_void<void> { static const bool value = true; }; That's exactly what I want to show. So I go to the header files and instead: //* is a type T void - is_void<T> BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_void,T,false) BOOST_TT_AUX_BOOL_TRAIT_SPEC1(is_void,void,true) Huh? So I look in bool_trait_def.hpp: #define BOOST_TT_AUX_BOOL_TRAIT_DEF1(trait,T,C) \ template< typename T > struct trait \ : mpl::bool_c< C > \ { \ BOOST_TT_AUX_BOOL_TRAIT_VALUE_DECL(C) \ BOOST_MPL_AUX_LAMBDA_SUPPORT(1,trait,(T)) \ }; \ Argh! Why is it done like this? This makes it much more complicated and unreadable than it has to be. Why are macros being used everywhere? Sam Gentile .NET Consultant ManagedCode@nospam.attbi.com http://www.samgentile.com http://radio.weblogs.com/0105852/ -----Original Message----- From: John Maddock [mailto:john_maddock@compuserve.com] Sent: Sunday, November 10, 2002 7:01 AM To: Boost-Users@yahoogroups.com Subject: Re: [Boost-Users] A strange question-) things
like Partial Template Specialization and then show how it is used in practice in libraries like Boost. Thanks in advance.
How about the type traits remove_XXX templates? Or even some of the is_XXX templates, although the latter tend to have rather a lot of workarounds cluttering up the code. John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. [Non-text portions of this message have been removed]
I went there and indeed it can't get any simpler - at least in theory-) Read the document C:\Boost\boost_1_29_0\libs\type_traits\c++_type_traits.htm and its quite simple:
template <typename T> struct is_void { static const bool value = false; };
template <> struct is_void<void> { static const bool value = true; };
That's exactly what I want to show. So I go to the header files and instead:
//* is a type T void - is_void<T>
BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_void,T,false)
BOOST_TT_AUX_BOOL_TRAIT_SPEC1(is_void,void,true)
Huh? So I look in bool_trait_def.hpp:
#define BOOST_TT_AUX_BOOL_TRAIT_DEF1(trait,T,C) \
template< typename T > struct trait \
: mpl::bool_c< C > \
{ \
BOOST_TT_AUX_BOOL_TRAIT_VALUE_DECL(C) \
BOOST_MPL_AUX_LAMBDA_SUPPORT(1,trait,(T)) \
}; \
Argh! Why is it done like this? This makes it much more complicated and unreadable than it has to be. Why are macros being used everywhere?
A very good question - Aleksey Gurtovoy refactored them like that - Aleksey? John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm
I went there and indeed it can't get any simpler - at least in
Aleksey is one thread - while he answers that, I'm back to the original question of places in Boost that show effective understandable use of partial template specialization without all these ugly macros-) Its hard to show something like this when I have to drill into all these macros one by one-) Sam Gentile .NET Consultant ManagedCode@nospam.attbi.com http://www.samgentile.com http://radio.weblogs.com/0105852/ -----Original Message----- From: John Maddock [mailto:john_maddock@compuserve.com] Sent: Wednesday, November 13, 2002 7:05 AM To: Boost-Users@yahoogroups.com Subject: Re: [Boost-Users] A strange question-) theory-)
Read the document C:\Boost\boost_1_29_0\libs\type_traits\c++_type_traits.htm and its quite simple:
template <typename T> struct is_void { static const bool value = false; };
template <> struct is_void<void> { static const bool value = true; };
That's exactly what I want to show. So I go to the header files and instead:
//* is a type T void - is_void<T>
BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_void,T,false)
BOOST_TT_AUX_BOOL_TRAIT_SPEC1(is_void,void,true)
Huh? So I look in bool_trait_def.hpp:
#define BOOST_TT_AUX_BOOL_TRAIT_DEF1(trait,T,C) \
template< typename T > struct trait \
: mpl::bool_c< C > \
{ \
BOOST_TT_AUX_BOOL_TRAIT_VALUE_DECL(C) \
BOOST_MPL_AUX_LAMBDA_SUPPORT(1,trait,(T)) \
}; \
Argh! Why is it done like this? This makes it much more complicated and unreadable than it has to be. Why are macros being used everywhere?
A very good question - Aleksey Gurtovoy refactored them like that - Aleksey? John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. [Non-text portions of this message have been removed]
participants (5)
-
David Abrahams
-
Johan Nilsson
-
John Maddock
-
Jon Kalb
-
Sam Gentile