1 // boost/chrono/stopwatches/collectors/no_memory.hpp
2 // Copyright 2011 Vicente J. Botet Escriba
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or
5 // copy at http://www.boost.org/LICENSE_1_0.txt)
6 // See http://www.boost.org/libs/chrono/stopwatches for documentation.
8 #ifndef BOOST_CHRONO_STOPWATCHES_MEMORIES_NO_MEMORY_HPP
9 #define BOOST_CHRONO_STOPWATCHES_MEMORIES_NO_MEMORY_HPP
17 template<typename Duration>
20 typedef Duration duration;
22 duration elapsed() const { return duration::zero(); }
23 duration last() const { return duration::zero(); }
24 void store(duration const& ) {}