Skip to content

typedef std::conditional_t #270

@Sean-Bin-Yang

Description

@Sean-Bin-Yang

/opt/homebrew/include/boost/type_traits/conditional.hpp:21:40: note: 'conditional_t' declared here
template <bool b, class T, class U> using conditional_t = typename conditional<b, T, U>::type;
^
In file included from /Users/seanbinyang/Downloads/fmm/src/config/network_config.cpp:2:
In file included from /Users/seanbinyang/Downloads/fmm/src/util/util.hpp:13:
In file included from /Users/seanbinyang/Downloads/fmm/src/mm/mm_type.hpp:14:
In file included from /Users/seanbinyang/Downloads/fmm/src/network/type.hpp:17:
In file included from /Users/seanbinyang/Downloads/fmm/src/core/geometry.hpp:15:
In file included from /opt/homebrew/include/boost/geometry.hpp:17:
In file included from /opt/homebrew/include/boost/geometry/geometry.hpp:31:
In file included from /opt/homebrew/include/boost/geometry/core/closure.hpp:23:
/opt/homebrew/include/boost/geometry/core/ring_type.hpp:111:13: error: no template named 'conditional_t' in namespace 'std'; did you mean simply 'conditional_t'?
std::conditional_t
^~~~~~~~~~~~~~~~~~
conditional_t

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions