* probably be clearer to add
* all mappings the same way.
*/
- FECollection (const FiniteElement<dim> &fe);
+ explicit FECollection (const FiniteElement<dim> &fe);
/**
* Copy constructor.
#include <boost/shared_ptr.hpp>
-//TODO[WB]: The conversion constructor should really be 'explicit'
-
namespace hp
{
/**
* clearer to add all mappings
* the same way.
*/
- MappingCollection (const Mapping<dim> &mapping);
+ explicit MappingCollection (const Mapping<dim> &mapping);
/**
* Copy constructor.
#include <boost/shared_ptr.hpp>
-//TODO[WB]: Make the conversion constructor 'explicit'. This is
-//presently calling for big trouble when doing things like
-// QGauss<dim> q;
-// hp::FEValues<dim> fe_values(fe, q, ...);
-
namespace hp
{
/**
* probably be clearer to add
* all mappings the same way.
*/
- QCollection (const Quadrature<dim> &quadrature);
+ explicit QCollection (const Quadrature<dim> &quadrature);
/**
* Copy constructor.
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams