Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- // This header actually had code in because it's generic but I removed the implementation.
- template <class T>
- class Nullable
- {
- T* data;
- public:
- Nullable(void);
- Nullable(T value);
- T& Value(void);
- bool HasValue(void) const;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement