KiCad PCB EDA Suite
graphics_importer_buffer.cpp File Reference

Go to the source code of this file.

Functions

template<typename T , typename... Args>
static std::unique_ptr< T > make_shape (const Args &...aArguments)
 

Function Documentation

template<typename T , typename... Args>
static std::unique_ptr<T> make_shape ( const Args &...  aArguments)
static

Definition at line 30 of file graphics_importer_buffer.cpp.

31 {
32  return std::unique_ptr<T>( new T( aArguments... ) );
33 }