Container transformation meta-function with same purpose as cast_container_view but employing variadic based optional parameter support. More...
Container transformation meta-function with same purpose as cast_container_view but employing variadic based optional parameter support.
Also allows preservation of composed views instead of flattening them, i.e. cast<view1<view2<cont>>> produces view1<cast<view2<cont>>> and eventually view1<view2<base_cont>>. Composition types that should be preserved are defined by the meta-function preserve_composition.