Skip to content
Snippets Groups Projects
Commit 411ac5fc authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: adjust return type for token compound factory method

- return autoPtr<token::compound> instead of the derived type,
  otherwise cannot easily construct a token from it

ENH: additional typed version of refCompoundToken()

- symmetric with typed version of transferCompoundToken()
  and isCompound()

- add ITstream::findCompound<Type>() method.
  Useful for searching within token streams
parent 880215e8
Branches
Tags
1 merge request!695OpenFOAM v2406
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment