AlexaClientSDK  1.25.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
alexaClientSDK::acsdkManufactory::OptionalImport< Types > Struct Template Reference

#include <OptionalImport.h>

Detailed Description

template<typename... Types>
struct alexaClientSDK::acsdkManufactory::OptionalImport< Types >

Template for tagging a type as an optional dependency (an import). This is similar to Import, but manufactory will not fail if it cannot find any recipe to build the object or if the recipe returns an empty object. When there is no recipe defined, manufactory will automatically use empty object / default creation where that object is needed. For example, for shared pointers, an empty shared pointer will be passed instead.

Template Parameters
TypesTemplate parameters of the form <Type>+, where Types is a list of types to be imported.

The documentation for this struct was generated from the following file:

AlexaClientSDK 1.25.0 - Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0