wrap.h - Wrap(const...

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 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&lt;T&gt;&amp; w); ~Wrap(); Wrap&amp; operator=(const Wrap&lt;T&gt;&amp; w); T get() const; void set(T v); void display(ostream&amp; os) const; private: T value; }; #endif...
View Full Document

This note was uploaded on 04/19/2008 for the course CS 265 taught by Professor Daniele.stevenson during the Spring '08 term at Wisc Eau Claire.

Ask a homework question - tutors are online