Skip to content
Snippets Groups Projects
Commit e2946e00 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Merge branch 'feature/fix-uggrid-subindex' into 'master'

Fix subIndex method for UGGrid

When using Hygrid::ifElse always keep in mind that some types in
the functions given as "if" and "else" branch are fixed, such that
compilation may fail altough the template is not instanciated.

To avoid this, those functions have one templated parameter which
is instanciated with the identity for the selected branch. Passing
objects through this branch will delay resolution of their type
until instantiation which does only happen for the selected branch.

By passing the entity through `id` we use this to make subIndex
compile for clang. It seems that gcc is less picky here.

See merge request !101
parents 8978d3ed 0ae6efe9
No related branches found
No related tags found
Loading
Pipeline #
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment