Skip to content

typedefs #114

@parnet

Description

@parnet

the modern way for using type definitions is the use clause instead of
typedef SmartPtr SP_Typename;
the using declartion can be used
using SP_Typename = typedef SmartPtr;

this also support template arguments
template
using ParallelV = ParallelVector<Vector>

ParallelV
ParallelV

and simplify search for definitions if ide does not support this

anyway in some parts of the project
typedef ElementStorage<base_object> ElementStorage;
is used which switches meaning of declaration and hides the original type
this affects also AttachmentPipe, AttachedElementList, SectionContainer, ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions