result_type operator()(implicit_matrix_base<ScalarType> const & mat) const {
   *ptr_++='i'; //implicit
   *ptr_++='m'; //matrix
   if(mat.is_value_static())
     *ptr_++='v'; //value
   *ptr_++=utils::first_letter_of_type<ScalarType>::value();
 }
Ejemplo n.º 2
0
          result_type operator()(implicit_matrix_base<ScalarType> const & mat) const {
            mapped_implicit_matrix * p = new mapped_implicit_matrix(utils::type_to_string<ScalarType>::value());

            if(mat.is_value_static()==false)
              p->value_name_ = create_name(current_arg_, memory_, NULL);

            return container_ptr_type(p);
          }