MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / select_const

Function select_const

system/include/emscripten/bind.h:311–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309
310template<typename ClassType, typename ReturnType, typename... Args>
311auto select_const(ReturnType (ClassType::*method)(Args...) const) -> decltype(method) {
312 return method;
313}
314
315namespace internal {
316// this should be in <type_traits>, but alas, it's not

Callers 1

EMSCRIPTEN_BINDINGSFunction · 0.85

Calls

no outgoing calls

Tested by 1

EMSCRIPTEN_BINDINGSFunction · 0.68