Initial import
This commit is contained in:
commit
0a5348b401
31 changed files with 1907 additions and 0 deletions
16
exercises/include/cmake-exercise/a.hh
Normal file
16
exercises/include/cmake-exercise/a.hh
Normal file
|
@ -0,0 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
#include <thread>
|
||||
|
||||
class A
|
||||
{
|
||||
public:
|
||||
A ();
|
||||
A (A&&) = default;
|
||||
~A ();
|
||||
|
||||
A& operator= (A&&) = default;
|
||||
|
||||
private:
|
||||
std::thread _t;
|
||||
};
|
16
exercises/include/cmake-exercise/b.hh
Normal file
16
exercises/include/cmake-exercise/b.hh
Normal file
|
@ -0,0 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
#include <cmake-exercise/a.hh>
|
||||
|
||||
#include <cmake-exercise/config.hh>
|
||||
|
||||
#include <vector>
|
||||
|
||||
class B
|
||||
{
|
||||
public:
|
||||
DSO_EXPORT B ();
|
||||
|
||||
private:
|
||||
std::vector<A> _a;
|
||||
};
|
4
exercises/include/cmake-exercise/c.hh
Normal file
4
exercises/include/cmake-exercise/c.hh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#pragma once
|
||||
|
||||
template <typename T>
|
||||
void unused_function (); // nothing to see here
|
Loading…
Add table
Add a link
Reference in a new issue