void
add_parameter(const std::string & entry,
ParameterType & parameter,
- const std::string & documentation = std::string(),
+ const std::string & documentation = "",
ParameterHandler & prm_ = prm,
const Patterns::PatternBase &pattern =
*Patterns::Tools::Convert<ParameterType>::to_pattern());
declare_entry(const std::string & entry,
const std::string & default_value,
const Patterns::PatternBase &pattern = Patterns::Anything(),
- const std::string & documentation = std::string());
+ const std::string & documentation = "");
/**
* Attach an action to the parameter with name @p entry in the current
void
add_parameter(const std::string & entry,
ParameterType & parameter,
- const std::string & documentation = std::string(),
+ const std::string & documentation = "",
const Patterns::PatternBase &pattern =
*Patterns::Tools::Convert<ParameterType>::to_pattern());
* is left.
*/
void
- leave_subsection(const std::string §ion_name = std::string());
+ leave_subsection(const std::string §ion_name = "");
/**
* Same as @p leave_subsection.
*/
void
- exit_section(const std::string §ion_name = std::string());
+ exit_section(const std::string §ion_name = "");
/**
* Get a map with the collected data of the specified type for each subsection
* again, then all following results will likely be wrong.
*/
KDTree(const unsigned int max_leaf_size = 10,
- const std::vector<Point<dim>> &pts = std::vector<Point<dim>>());
+ const std::vector<Point<dim>> &pts = {});
/**
SolutionTransfer<dim, VectorType, DoFHandlerType>::
prepare_for_coarsening_and_refinement(const VectorType &in)
{
- std::vector<VectorType> all_in = std::vector<VectorType>(1, in);
+ std::vector<VectorType> all_in(1, in);
prepare_for_coarsening_and_refinement(all_in);
}