Skip to content

Consider a more C++ approach for handling memory allocations in MemoryUtils class #17

@pelesh

Description

@pelesh

@rothpc says: I tend to prefer a more C++ approach for handling memory allocations, so the MemoryUtils functions would use something like:

template<typename T> T* allocate(I n);

where it is assumed that type I is a parameter on MemoryUtils as suggested above. Error handling suggests exceptions with this approach.

Need to add basic exception handling to ReSolve in order to implement this.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions