// -*- C++ -*- /** * \file BoostFormat.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * * \author Lars Gullik Bjønnes * * Full author contact details are available in file CREDITS */ #ifndef LYX_BOOST_FORMAT_H #define LYX_BOOST_FORMAT_H // Only include this if it is possible to use // Boost.Format at all. #if USE_BOOST_FORMAT #include // Add explicit instantion for g++ compilers #ifdef __GNUG__ namespace boost { extern template std::ostream & operator<< >(std::ostream &, boost::basic_format const &); namespace io { extern template std::string str >(boost::basic_format const &); namespace detail { extern template bool parse_printf_directive > (std::string const &, std::string::size_type*, format_item >*, std::ios &, unsigned char); extern template void distribute, std::string const &> (boost::basic_format&, std::string const &); extern template boost::basic_format & feed, std::string const &>(boost::basic_format &, std::string const &); } // namespace detail } // namespace io } // namespace boost #endif // __GNUG__ #endif // USE_BOOST_FORMAT #endif // LYX_BOOST_FORMAT_H