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

STYLE: check tmp with is_reference() or movable(), instead of isTmp()

- missed consistency in a few places.

- return nullptr (with automatic conversion to tmp) on failures
  instead of tmp<....>(nullptr), for cleaner coding.

INT: add support for an 'immovable' tmp pointer

- this idea is from openfoam.org, to allow creation of a tmp that is
  protected from having its memory reclaimed in field operations

ENH: tmp NewImmovable factory method, forwards as immovable/movable
parent 13bd644c
Showing
with 157 additions and 93 deletions
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