forked from boostorg/regex
Remove use of obsolete BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE{,_SPEC} macro.
[SVN r85896]
This commit is contained in:
@ -857,7 +857,7 @@ bool cpp_regex_traits_implementation<charT>::isctype(const charT c, char_class_t
|
|||||||
|
|
||||||
|
|
||||||
template <class charT>
|
template <class charT>
|
||||||
inline boost::shared_ptr<const cpp_regex_traits_implementation<charT> > create_cpp_regex_traits(const std::locale& l BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(charT))
|
inline boost::shared_ptr<const cpp_regex_traits_implementation<charT> > create_cpp_regex_traits(const std::locale& l)
|
||||||
{
|
{
|
||||||
cpp_regex_traits_base<charT> key(l);
|
cpp_regex_traits_base<charT> key(l);
|
||||||
return ::boost::object_cache<cpp_regex_traits_base<charT>, cpp_regex_traits_implementation<charT> >::get(key, 5);
|
return ::boost::object_cache<cpp_regex_traits_base<charT>, cpp_regex_traits_implementation<charT> >::get(key, 5);
|
||||||
|
@ -552,7 +552,7 @@ typename w32_regex_traits_implementation<charT>::char_class_type
|
|||||||
|
|
||||||
|
|
||||||
template <class charT>
|
template <class charT>
|
||||||
boost::shared_ptr<const w32_regex_traits_implementation<charT> > create_w32_regex_traits(::boost::re_detail::lcid_type l BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(charT))
|
boost::shared_ptr<const w32_regex_traits_implementation<charT> > create_w32_regex_traits(::boost::re_detail::lcid_type l)
|
||||||
{
|
{
|
||||||
// TODO: create a cache for previously constructed objects.
|
// TODO: create a cache for previously constructed objects.
|
||||||
return boost::object_cache< ::boost::re_detail::lcid_type, w32_regex_traits_implementation<charT> >::get(l, 5);
|
return boost::object_cache< ::boost::re_detail::lcid_type, w32_regex_traits_implementation<charT> >::get(l, 5);
|
||||||
|
Reference in New Issue
Block a user