Policy customizing the generic C-API wrappers for the AL API. More...
#include <oalplus/al_api/api_traits.hpp>
Public Types | |
template<typename R > | |
using | no_result = al_no_result< R > |
Alias for result type of currently unavailable functions. | |
template<typename R > | |
using | result = al_result< R > |
Alias for result type of functions. | |
template<typename R > | |
using | opt_result = al_opt_result< R > |
Alias for result type of optionally available functions. | |
Public Member Functions | |
template<typename Api , typename Type > | |
auto | load_constant (Api &api, string_view name, type_identity< Type >) -> std::tuple< Type, bool > |
Loads an AL constant with the specified name and Type. | |
template<typename Api , typename Tag , typename Signature > | |
auto | link_function (Api &api, Tag, string_view name, type_identity< Signature >) -> std::add_pointer_t< Signature > |
Links an AL function with the specified name and Signature. | |
Policy customizing the generic C-API wrappers for the AL API.