Click here to Skip to main content
15,895,709 members
Articles / Programming Languages / C++

A ref-counted pointer class that supports polymorphic types

Rate me:
Please Sign up or sign in to vote.
1.78/5 (6 votes)
12 Nov 2002CPOL5 min read 118.4K   625   21  
A ref-counted pointer class that supports polymorphic types
// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__B9FB4433_9662_44CC_9B03_FB3AE4EAD65E__INCLUDED_)
#define AFX_STDAFX_H__B9FB4433_9662_44CC_9B03_FB3AE4EAD65E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers
#pragma warning(disable:4786)	// debug information truncated to 255 characters
#pragma warning(disable:4503)	// decorated name length exceeded, name was truncated

#include <stdio.h>
#include <windows.h>

// TODO: reference additional headers your program requires here

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__B9FB4433_9662_44CC_9B03_FB3AE4EAD65E__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions