Programmer's Heaven - For C C++ Pascal Delphi Visual Basic Assembler C# .Net java JSP ASP ASP.NET Javascript developers!

Members
Username:

Password:

Auto-login

Register
Why register?
Forgot Password?
Blogs new Blog section
Jobs
Webtools
Message Boards
FAQ
CodePedia
Free Magazines
User search
What's New
Top lists
RSS Feeds RSS Feed

Submit content
Contact Us
Link To Us
Help



Advanced Search
Newsletter
E-mail:


More information
Current area: HOME -> C / C++ -> Standard Template Library Articles Adds this page to your personal favorites
  Standard Template Library
C++ header dependency tricks
Keeping header file dependencies to a minimum in C++ is always a good idea. There’s a great book on the subject. John Lakos’s Large Scale C++ Design , but there’s plenty of little tricks that aren’t mentioned. In this article I discuss a cool trick I’ve discovered in reducing dependencies, particularly useful for STL headers.
Visits: 209 Updated: 2007-12-10  Rating: (Not Rated)  More info & Ratings
Clone Smart Pointer (clone_ptr)
The clone_ptr class is a smart pointer that can clone itself without requiring the base class to have a clone method. It can clone itself to the type pass to the constructor. The constructor for the clone_ptr is a template method, which is able to store type information for later usage when cloning the pointer.
Visits: 810 Updated: 2005-11-13  Rating: (Not Rated)  More info & Ratings
Advertisment
Enforcing Compile-time Constraints
Implementing some constraints require too much elbow grease. Wouldn't it be great to find a way to generically implement those more abstract constraints? The following solution shows you how to do just that.
Visits: 389 Updated: 2005-11-13  Rating: (Not Rated)  More info & Ratings
Into the STL distance function
The purpose of this article is to demonstrate the basic concepts of template programming (such as: tags and traits classes). In this article, I will implement some functionality of the "distance" STL function. By dealing with the various problems emerging, the basic concepts can become clearer.
Visits: 437 Updated: 2006-4-2  Rating: (Not Rated)  More info & Ratings
Manage Your STL Container's Storage with Self-swapping Idioms
How do you trim a container whose capacity is larger than necessary? How do you force a container to destroy its elements and set its capacity to 0? Find out how to regulate an STL container's storage manually.
Visits: 373 Updated: 2005-11-13  Rating: (Not Rated)  More info & Ratings
Reading UNIX-style Directories via STL-compliant Sequences
This article shows how to easily process UNIX-style directory entries as STL sequences.
Visits: 679 Updated: 2004-6-27  Rating: (Not Rated)  More info & Ratings
Use Traits Classes for Information About Types
The STL is primarily made up of templates for containers, iterators, and algorithms, but it also has a few utility templates.
Visits: 366 Updated: 2005-11-13  Rating: (Not Rated)  More info & Ratings


Found a broken link? Please report it to us.

 

Sponsored Links 
Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
SFTP components for .NET
Add complete SSH and SFTP support to your .NET framework application
Virtual File System SDK
Create your own file systems in Windows and .NET applications
PureCM Software Configuration Management
Version control and integrated issue tracking - powerful and easy to use. Get your FREE trial now!
Buy a link now

Advertisement

  Free Magazine  
Free Magazines
Software Development Targets corporate developers and technical managers working at mainly mid- to large-size companies with sizable development staffs....
subscribe now


Newsletter Submit Content About Advertising Awards Contact Us Link to us    
© 1996-2008 Community Networks Ltd All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by ASP.NET Konsult - Synchron Data.