add more explicit instantations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5706 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-11-25 00:42:20 +00:00
parent a4c9f5fdf4
commit af4fca532f
3 changed files with 76 additions and 2 deletions

View File

@ -13,8 +13,43 @@
namespace boost namespace boost
{ {
extern extern
template basic_format<char>; template basic_format<char>;
extern template
std::ostream &
operator<< <char, std::char_traits<char> >(std::ostream &,
boost::basic_format<char> const &);
namespace io
{
extern template
std::string
str<char, std::char_traits<char> >(boost::basic_format<char> const &);
namespace detail
{
extern template
bool parse_printf_directive<char, std::char_traits<char> >
(std::string const &, std::string::size_type*,
format_item<char, std::char_traits<char> >*,
std::ios &, unsigned char);
extern template
void distribute<char, std::char_traits<char>, std::string const &>
(boost::basic_format<char>&, std::string const &);
extern template
boost::basic_format<char> &
feed<char, std::char_traits<char>,
std::string const &>(boost::basic_format<char> &,
std::string const &);
} // namespace detail
} // namespace io
} // namespace boost } // namespace boost

View File

@ -1,3 +1,7 @@
2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
* boost-inst.C,BoostFormat.h: add more explict instantations
2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net> 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
* lots of files: handle USE_BOOST_FORMAT * lots of files: handle USE_BOOST_FORMAT

View File

@ -11,6 +11,41 @@ using boost::io::out_of_range_bit;
template class basic_format<char>; template class basic_format<char>;
template
std::ostream &
operator<< <char, std::char_traits<char> >(std::ostream &,
boost::basic_format<char> const &);
namespace io
{
template
std::string
str<char, std::char_traits<char> >(boost::basic_format<char> const &);
namespace detail
{
template
bool parse_printf_directive<char, std::char_traits<char> >
(std::string const &, std::string::size_type*,
format_item<char, std::char_traits<char> >*,
std::ios &, unsigned char);
template
void distribute<char, std::char_traits<char>, std::string const &>
(boost::basic_format<char> &, std::string const&);
template
boost::basic_format<char> &
feed<char, std::char_traits<char>,
std::string const &>(boost::basic_format<char> &,
std::string const &);
} // namespace detail
} // namespace io
} // namespace boost } // namespace boost
#endif // USE_BOOST_FORMAT #endif // USE_BOOST_FORMAT