Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Reference counted smart pointer

, 4 Dec 2012 CPOL
This article presents a solution to manage pointers in C++ in a similar way as COM.
RefCountSmartpointer.zip
RefCountSmartpointer
TestClassImpl
TestClassImpl.vcxproj.filters
UnitTestCoreImpl
UnitTestCoreImpl.vcxproj.filters
UnitTestCoreImpl.vcxproj.user

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestClassImpl", "TestClassImpl.vcxproj", "{6AEBDB64-759E-46D3-9953-4449767CE704}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UnitTestCoreImpl", "..\UnitTestCoreImpl\UnitTestCoreImpl.vcxproj", "{1FB80B9F-88C6-44E0-ACE9-FB71D8096D70}"
	ProjectSection(ProjectDependencies) = postProject
		{6AEBDB64-759E-46D3-9953-4449767CE704} = {6AEBDB64-759E-46D3-9953-4449767CE704}
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Win32 = Debug|Win32
		Debug|x64 = Debug|x64
		Release|Win32 = Release|Win32
		Release|x64 = Release|x64
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{6AEBDB64-759E-46D3-9953-4449767CE704}.Debug|Win32.ActiveCfg = Debug|Win32
		{6AEBDB64-759E-46D3-9953-4449767CE704}.Debug|Win32.Build.0 = Debug|Win32
		{6AEBDB64-759E-46D3-9953-4449767CE704}.Debug|x64.ActiveCfg = Debug|x64
		{6AEBDB64-759E-46D3-9953-4449767CE704}.Debug|x64.Build.0 = Debug|x64
		{6AEBDB64-759E-46D3-9953-4449767CE704}.Release|Win32.ActiveCfg = Release|Win32
		{6AEBDB64-759E-46D3-9953-4449767CE704}.Release|Win32.Build.0 = Release|Win32
		{6AEBDB64-759E-46D3-9953-4449767CE704}.Release|x64.ActiveCfg = Release|x64
		{6AEBDB64-759E-46D3-9953-4449767CE704}.Release|x64.Build.0 = Release|x64
		{1FB80B9F-88C6-44E0-ACE9-FB71D8096D70}.Debug|Win32.ActiveCfg = Debug|Win32
		{1FB80B9F-88C6-44E0-ACE9-FB71D8096D70}.Debug|Win32.Build.0 = Debug|Win32
		{1FB80B9F-88C6-44E0-ACE9-FB71D8096D70}.Debug|x64.ActiveCfg = Debug|x64
		{1FB80B9F-88C6-44E0-ACE9-FB71D8096D70}.Debug|x64.Build.0 = Debug|x64
		{1FB80B9F-88C6-44E0-ACE9-FB71D8096D70}.Release|Win32.ActiveCfg = Release|Win32
		{1FB80B9F-88C6-44E0-ACE9-FB71D8096D70}.Release|Win32.Build.0 = Release|Win32
		{1FB80B9F-88C6-44E0-ACE9-FB71D8096D70}.Release|x64.ActiveCfg = Release|x64
		{1FB80B9F-88C6-44E0-ACE9-FB71D8096D70}.Release|x64.Build.0 = Release|x64
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

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)

Share

About the Author

orouit
Architect Consistel - Singapore
Singapore Singapore
Software Architect, COM, .NET and Smartcard based security specialist.
 
I've been working in the software industry since I graduated in Electrical and Electronics Engineering. I chose software because I preferred digital to analog.
 
I started to program with 6802 machine code and evolved to the current .NET technologies... that was a long way.
 
For more than 20 years I have always worked in technical positions as I simply like to get my hands dirty and crack my brain when things don't go right!
 
After 12 years in the smart card industry I can claim a strong knowledge in security solutions based on those really small computers! I'm currently back in the business to design the licensing system for the enterprise solution I'm currenly working on, using a .NET smart card (yes they can run .NET CLR!)
 
View my profile on LinkedIn
 
You can contact me for professional consulting by using the forum.

| Advertise | Privacy | Mobile
Web02 | 2.8.141022.2 | Last Updated 4 Dec 2012
Article Copyright 2012 by orouit
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid