MCPcopy Create free account
hub / github.com/KTH-RPL/dufomap / Setting

Class Setting

src/indicators.hpp:1099–1110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1097};
1098
1099template <typename T, ProgressBarOption Id> struct Setting {
1100 template <typename... Args,
1101 typename = typename std::enable_if<std::is_constructible<T, Args...>::value>::type>
1102 explicit Setting(Args &&... args) : value(std::forward<Args>(args)...) {}
1103 Setting(const Setting &) = default;
1104 Setting(Setting &&) = default;
1105
1106 static constexpr auto id = Id;
1107 using type = T;
1108
1109 T value{};
1110};
1111
1112template <typename T> struct is_setting : std::false_type {};
1113

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected