I want to submit a patch

Hello I would like to submit some changes to boost i.e. I have implemented an extension to boost to support extra conversion chars like %B for printing bool's symbolically i.e. switching on boolalpha, and %b to print out a integer type in binary (base 2) and %b(base) to print out and integer in base "base" 2<= base <= 36 and the uppercase flag controlling whether or not we use 'A' to 'Z' or 'a' to 'z' for digits above 9 Also I have implemented a printf, fprintf etc that uses C++0x's vardic template parameters to type safely print, this uses boostformat as the format string anyway I would like to submit this stuff to boost for hopefully inclusion in the boost libraries how do I go about that I cannot find it on the web page -- In my life God comes first.... but Linux is pretty high after that :-D Grizzly(Francis Smit) http://www.google.com/profiles/grizzlysmit

Le 17/08/2010 23:50, Grizzly(Francis Smit) a écrit :
Hello I would like to submit some changes to boost i.e. I have implemented an extension to boost to support extra conversion chars like %B for printing bool's symbolically i.e. switching on boolalpha, and %b to print out a integer type in binary (base 2) and %b(base) to print out and integer in base "base" 2<= base <= 36 and the uppercase flag controlling whether or not we use 'A' to 'Z' or 'a' to 'z' for digits above 9
Also I have implemented a printf, fprintf etc that uses C++0x's vardic template parameters to type safely print, this uses boostformat as the format string
anyway I would like to submit this stuff to boost for hopefully inclusion in the boost libraries how do I go about that I cannot find it on the web page
Best way to do that is probably to contact the Boost.Format maintainer directly. You can also create a Trac ticket against Boost.Format marking it as a feature request and attaching your patch.

Hi, I just switched from version 1.43 to 1.44 and now I get the following compilation error boost/detail/sp_typeinfo.hpp(77) : error C2440: 'Initialisierung': 'const char *' kann nicht in 'boost::detail::sp_typeinfo' konvertiert werden (in english: 'const char *' cannot be converted to 'boost::detail::sp_typeinfo') I have BOOST_NO_TYPEID defined and using a MSVC 9 compiler. In version 1.43 the line was: template<class T> sp_typeinfo sp_typeid_< T >::ti_( sp_typeid_< T >::name() ); so, the explicit ctor was called. In version 1.44 it changed to template<class T> sp_typeinfo sp_typeid_< T >::ti_ = sp_typeid_< T >::name(); and the explicit ctor won't be called anymore. The change message (https://svn.boost.org/trac/boost/changeset/62245/trunk/boost/detail/sp_typei...) refers to some fix for Sun C++. IMO the change should better be guarded by some compiler-detection macro. Tobias
participants (3)
-
Grizzly(Francis Smit)
-
Löw, Tobias (Evonik Energy Services GmbH)
-
Mathias Gaunard