[Dune] bug #10 Interface Implementation Check.

Markus Blatt Markus.Blatt at ipvs.uni-stuttgart.de
Sun Oct 22 22:53:28 CEST 2006


Hi,

On Thu, Oct 19, 2006 at 03:59:28PM +0200, Robert Kloefkorn wrote:
> 
> #include <dune/common/bartonnackmanifcheck.hh>
> 
> 
> and invoke (the grids maxLevel method for example)
> 
>   int maxLevel() const
>   {
>     CHECK_INTERFACE_IMPLEMENTATION(asImp().maxLevel());
>     return asImp().maxLevel();
>   }

as I am not an expert to Macros, could you please explain to me how
the CHECK_INTERFACE_IMPLEMENTATION works.

By the way: The macro is really what we needed! Thanks!

Markus




More information about the Dune mailing list