LLFIO
v2.00
|
Metaprogramming shim for constructing any handle
subclass.
More...
#include "handle.hpp"
Public Member Functions | |
result< T > | operator() () const noexcept |
Metaprogramming shim for constructing any handle
subclass.
Each handle
implementation provides one or more static member functions used to construct it. Each of these has a descriptive, unique name so it can be used as a free function which is convenient and intuitive for human programmers.
This design pattern is however inconvenient for generic code which needs a single way of constructing some arbitrary unknown handle
implementation. This shim function provides that.