--- src/glog/stl_logging.h.in.orig 2015-03-11 04:02:27 UTC +++ src/glog/stl_logging.h.in @@ -76,6 +76,9 @@ #ifdef GLOG_STL_LOGGING_FOR_EXT_SLIST # include #endif +#ifdef GLOG_STL_LOGGING_FOR_FORWARD_LIST +# include +#endif // Forward declare these two, and define them after all the container streams // operators so that we can recurse from pair -> container -> container -> pair @@ -101,9 +104,13 @@ inline std::ostream& operator<<(std::ost OUTPUT_TWO_ARG_CONTAINER(std::vector) OUTPUT_TWO_ARG_CONTAINER(std::deque) OUTPUT_TWO_ARG_CONTAINER(std::list) + #ifdef GLOG_STL_LOGGING_FOR_EXT_SLIST OUTPUT_TWO_ARG_CONTAINER(__gnu_cxx::slist) #endif +#ifdef GLOG_STL_LOGGING_FOR_FORWARD_LIST +OUTPUT_TWO_ARG_CONTAINER(std::forward_list) +#endif #undef OUTPUT_TWO_ARG_CONTAINER