boostorg / boostorg/hana

BOOST_HANA_CONFIG_HAS_CONSTEXPR_LAMBDA and BOOST_HANA_CONSTEXPR_CHECK

Open
#406 6 comments 0 reactions 0 assignees View on GitHub
MSVC
Dominant language
C++
Stars
1.9k
Forks
225
PR merge metrics
No merged PRs in 30d

Description

I tried to enable BOOST_HANA_CONFIG_HAS_CONSTEXPR_LAMBDA once and see some errors when building with MSVC and /std:c++17.

I only investigated several failures and one of them seems to be source issue:

test\assert\constexpr.cpp
BOOST_HANA_CONSTEXPR_ASSERT(runtime_bool());

runtime_bool isn't a constexpr function.

Looks that this macro is deliberately left as undefined, so this issue is just a FYI.

Contributor guide

Open the contributing guide

Research direction

Start with test\assert\constexpr.cpp and the BOOST_HANA_CONSTEXPR_ASSERT(runtime_bool()) case under MSVC with /std:c++17. Determine whether the reported non-constexpr runtime_bool use is an actual source issue related to BOOST_HANA_CONFIG_HAS_CONSTEXPR_LAMBDA and define what correction or confirmation would close the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.