JustCpp
Repo wih C++ stuff
Loading...
Searching...
No Matches
smartPointers.hpp
Go to the documentation of this file.
1#ifndef SMART_POINTERS_HPP
2#define SMART_POINTERS_HPP
3
4#include <iostream>
5#include <memory>
6
8 struct nComplex {
9 double real;
10 double imaginary;
12 };
13
14 void autoPtr(void);
15 void uniquePtr(void);
16 void sharedPtr(void);
17 void weakPtr(void);
18}
19
20#endif
Definition smartPointers.hpp:7
void sharedPtr(void)
Definition smartPointers.cpp:36
void weakPtr(void)
Definition smartPointers.cpp:50
void autoPtr(void)
Definition smartPointers.cpp:3
void uniquePtr(void)
Definition smartPointers.cpp:17
nComplex(double real, double imaginary)
Definition smartPointers.hpp:11
double real
Definition smartPointers.hpp:9
double imaginary
Definition smartPointers.hpp:10