#ifndef ORIGIN_VECTOR_VISITOR_HPP #define ORIGIN_VECTOR_VISITOR_HPP namespace origin { /** * The default vector visitor provides methods for receiving notification about * the automated expansion and contraction of vector's underlying capacity. * The preferred method of defining visitors is to inherit from this class * to provide the default implementations of non-overriden methods. * * @note Visitor methods are not currently provided for explicit resize * operations since those are (generally) easily determined. */ struct vector_visitor { template void before_grow(V const&) { } template void after_grow(V const&) { } template void before_shrink(V const&) { } template void after_shrink(V const&) { } }; } // namespace origin #endif