For example Combinable and Distributable require the use of [[combinable]] and [[distributable
]] attribute annotations
Couldn't the same sort of thing be achieved using combinable/distributable function definitions similar to select functions? In fact they could be considered special cases of select functions:
Code: Select all
select regular_select_func()
{
case ....
...
break;
case...
...
return;
}
combined regular_select_func()
{
case ....
...
break;
case...
...
return;
}
distributed regular_select_func()
{
case ....
...
break;
case...
...
return;
}
*Update actually select::combined or select::distributed would be a more accurate function type
**Update you might also add select::ordered whilst your at it which would allow you to remove the messy ordered pragma
Just a suggestion/idea?
regards
Al