11 #include <boost/thread/condition.hpp> 12 #include <boost/thread/mutex.hpp> 13 #include <boost/thread/thread.hpp> 14 #include <boost/circular_buffer.hpp> 15 #include <boost/lexical_cast.hpp> 17 #include "../JASPL/jTypeTraits/jtypetraits.h" 21 template <
typename T >
50 typename T::value_type Index();
57 typename T::value_type index;
58 boost::shared_mutex monitor;
62 #include "../JASPL/jAlgorithm/jalgorithm.tpp" 66 #endif // JALGORITHM_H Average together a (nearly) arbitrary number of container-like objects using the recursive definition...
void operator()(const T &next_value)
Average together a new value.