Click here to Skip to main content
15,881,248 members
Articles / Programming Languages / C++

A policy based reference counting implementation for compound objects

Rate me:
Please Sign up or sign in to vote.
4.77/5 (13 votes)
26 May 2005CPOL16 min read 33.1K   274   30  
Reference counting smart pointers and handles of various flavours.
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject ProjectType="Visual C++" Version="7.00" Name="c3" ProjectGUID="{857C6F1D-6195-42D4-BB1A-2F3DC1D123BF}" Keyword="Win32Proj">
   <Platforms>
      <Platform Name="Win32"/>
   </Platforms>
   <Configurations>
      <Configuration Name="Debug|Win32" OutputDirectory="Debug" IntermediateDirectory="Debug" ConfigurationType="1" CharacterSet="2">
         <Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="../../libs" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" RuntimeLibrary="5" RuntimeTypeInfo="TRUE" UsePrecompiledHeader="3" WarningLevel="4" Detect64BitPortabilityProblems="TRUE" DebugInformationFormat="4"/>
         <Tool Name="VCCustomBuildTool"/>
         <Tool Name="VCLinkerTool" OutputFile="$(OutDir)/c3.exe" LinkIncremental="2" GenerateDebugInformation="TRUE" ProgramDatabaseFile="$(OutDir)/c3.pdb" SubSystem="1" TargetMachine="1"/>
         <Tool Name="VCMIDLTool"/>
         <Tool Name="VCPostBuildEventTool"/>
         <Tool Name="VCPreBuildEventTool"/>
         <Tool Name="VCPreLinkEventTool"/>
         <Tool Name="VCResourceCompilerTool"/>
         <Tool Name="VCWebServiceProxyGeneratorTool"/>
         <Tool Name="VCWebDeploymentTool"/>
      </Configuration>
      <Configuration Name="Release|Win32" OutputDirectory="Release" IntermediateDirectory="Release" ConfigurationType="1" CharacterSet="2">
         <Tool Name="VCCLCompilerTool" Optimization="2" InlineFunctionExpansion="1" OmitFramePointers="TRUE" AdditionalIncludeDirectories="../../libs" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" StringPooling="TRUE" RuntimeLibrary="4" EnableFunctionLevelLinking="TRUE" RuntimeTypeInfo="TRUE" UsePrecompiledHeader="3" WarningLevel="4" Detect64BitPortabilityProblems="TRUE" DebugInformationFormat="3"/>
         <Tool Name="VCCustomBuildTool"/>
         <Tool Name="VCLinkerTool" OutputFile="$(OutDir)/c3.exe" LinkIncremental="1" GenerateDebugInformation="TRUE" SubSystem="1" OptimizeReferences="2" EnableCOMDATFolding="2" TargetMachine="1"/>
         <Tool Name="VCMIDLTool"/>
         <Tool Name="VCPostBuildEventTool"/>
         <Tool Name="VCPreBuildEventTool"/>
         <Tool Name="VCPreLinkEventTool"/>
         <Tool Name="VCResourceCompilerTool"/>
         <Tool Name="VCWebServiceProxyGeneratorTool"/>
         <Tool Name="VCWebDeploymentTool"/>
      </Configuration>
   </Configurations>
   <Files>
      <Filter Name="Source Files" Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
         <File RelativePath="c3.cpp"/>
         <File RelativePath="stdafx.cpp">
            <FileConfiguration Name="Debug|Win32">
               <Tool Name="VCCLCompilerTool" UsePrecompiledHeader="1"/>
            </FileConfiguration>
            <FileConfiguration Name="Release|Win32">
               <Tool Name="VCCLCompilerTool" UsePrecompiledHeader="1"/>
            </FileConfiguration>
         </File>
      </Filter>
      <Filter Name="Header Files" Filter="h;hpp;hxx;hm;inl;inc">
         <File RelativePath="stdafx.h"/>
      </Filter>
      <Filter Name="Resource Files" Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"/>
   </Files>
   <Globals/>
</VisualStudioProject>

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)


Written By
Architect
Italy Italy
Born and living in Milan (Italy), I'm an engineer in electronics actually working in the ICT department of an important oil/gas & energy company as responsible for planning and engineering of ICT infrastructures.
Interested in programming since the '70s, today I still define architectures for the ICT, deploying dedicated specific client application for engineering purposes, working with C++, MFC, STL, and recently also C# and D.

Comments and Discussions