File: cpp_constexpr_hax.h

package info (click to toggle)
breathe 4.36.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,224 kB
  • sloc: python: 12,703; cpp: 1,737; makefile: 523; xml: 168; sh: 54; ansic: 52
file content (5 lines) | stat: -rw-r--r-- 179 bytes parent folder | download | duplicates (5)
1
2
3
4
5
[[nodiscard]] constexpr static auto f1(std::false_type) {}
[[nodiscard]] static constexpr auto f2(std::false_type) {}

constexpr static int v1 = 42;
static constexpr int v2 = 42;