{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

wrap.h - Wrap(const Wrap<T>& w ~Wrap Wrap&...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#ifndef WRAP_H #define WRAP_H #include <iostream> using namespace std; template<typename T> class Wrap { // friend ostream& operator<<(ostream& os, const Wrap& w); public: Wrap(); Wrap(T v);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Wrap(const Wrap<T>& w); ~Wrap(); Wrap& operator=(const Wrap<T>& w); T get() const; void set(T v); void display(ostream& os) const; private: T value; }; #endif...
View Full Document

{[ snackBarMessage ]}