Skip to content

Deduce usage of intrinsic types traits by checking if they are present #1197

@filipe-cuim

Description

@filipe-cuim

Currently if we use ETL's no stl default profiles (for example cpp17_no_stl.h), type_traits like is_constructible or is_trivially_copyable doesn't use compiler builtins. Although, the presence of these builtins should be deduced by ETL, which actually it is doing in include/etl/profiles/determine_builtin_support.h, but ETL then is only using the ETL_USE_TYPE_TRAITS_BUILTINS flag. Shouldn't ETL just use the other flags like ETL_USING_BUILTIN_IS_ASSIGNABLE to check if it could use the type traits instrinsics?
A PR with this change has been created here: #1174

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