introduce BOOST_DISPATCH_DECLTYPE, which gives a correctly qualified reference type
incorrect child in mtimes
use BOOST_DISPATCH_DECLTYPE instead of BOOST_DISPATCH_TYPEOF in AS_TERMINAL
implement as_terminal_inout