[date_time] SunPRO patch for date_names_put facet

The following patch is required to build date_time using the Sun Workshop C++ compiler. I mentioned this previously in another thread, but I fear it has been lost. --- boost/date_time/date_names_put.hpp~ 2004-12-01 08:58:32.846228000 -0500 +++ boost/date_time/date_names_put.hpp 2004-12-01 08:59:38.334228000 -0500 @@ -52,6 +52,11 @@ typedef std::basic_string<charT> string_type; static std::locale::id id; + +#if defined (__SUNPRO_CC) && defined (_RWSTD_VER) + std::locale::id& __get_id (void) const { return id; } +#endif + void put_special_value(iter_type& oitr, special_value_enum sv) const { do_put_special_value(oitr, sv); -- Caleb Epstein caleb dot epstein at gmail dot com

On Mon, 6 Dec 2004 13:38:36 -0500, Caleb Epstein wrote
The following patch is required to build date_time using the Sun Workshop C++ compiler. I mentioned this previously in another thread, but I fear it has been lost.
Not really lost, but never hurts to kick me twice. It's applied to CVS now. Thanks! Jeff
participants (2)
-
Caleb Epstein
-
Jeff Garland