C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
begin_impl_traversal walks the list to find the beginning More...
#include <exercise-5-7.hpp>
begin_impl_traversal walks the list to find the beginning
This is where the real sequence construction occurs. Declaring the sequence does no work, but finding the beginning realizes the entire sequence by invoking S::prev
until we find the "beginning" (i.e., boost::mpl::void_
).
S | The sequence (in reality, just the back). |
S_Prev | The part of the sequence immediately preceeding S . |
Definition at line 110 of file exercise-5-7.hpp.