Skip to content

C++11: Modernize codebase #1509

@behdad

Description

@behdad

I'm designing the iterator structs that I need badly for subsetting GSUB/GPOS, and I'm hitting walls. I really need decltype or auto, and not just for convenience. I suggest we switch to C++11 now, which means older compiler support ends at the end of current year.

Also, suggest we make all our headers declare namespace HB. And we remove a lot of hb_ prefixes from internal functions.

Since C++11 will be required, we can remove a lot of hacks. It was becoming really taxing to support older compilers, specially the ambiguous-operator ones.

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