All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
testing::DefaultSetupProviderClass< Prov > Struct Template Reference

A default implementation for provider setup class. More...

#include <ProviderTestHelpers.h>

Inheritance diagram for testing::DefaultSetupProviderClass< Prov >:
testing::ProviderSetupClass< Prov >

Static Public Member Functions

template<typename... Args>
static std::unique_ptr< Prov > setup (Args &&...args)
 Instantiates a new provider with specified arguments for constructor. More...
 

Detailed Description

template<typename Prov>
struct testing::DefaultSetupProviderClass< Prov >

A default implementation for provider setup class.

Definition at line 43 of file ProviderTestHelpers.h.

Member Function Documentation

template<typename Prov >
template<typename... Args>
static std::unique_ptr<Prov> testing::DefaultSetupProviderClass< Prov >::setup ( Args &&...  args)
inlinestatic

Instantiates a new provider with specified arguments for constructor.

Definition at line 47 of file ProviderTestHelpers.h.

48  { return std::make_unique<Prov>(std::forward<Args>(args)...); }

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