Click here to Skip to main content
11,436,179 members (62,422 online)
Click here to Skip to main content
Add your own
alternative version

A Type-safe Generic Pointer

, 2 Mar 2011 MIT
A safer alternative to void*, any_ptr can point to any type of object and provide type-safe, const-correct access to it.
any_ptr.zip
any_ptr
code
Sample.cbp

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 MIT License

Share

About the Author

Francis Xavier Pulikotil
Software Developer
United States United States
Besides loving spending time with family, Francis Xavier likes to watch sci-fi/fantasy/action/drama movies, listen to music, and play video-games. After being exposed to a few video-games, he developed an interest in computer programming. He currently holds a Bachelor's degree in Computer Applications.
Follow on   LinkedIn

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150428.2 | Last Updated 3 Mar 2011
Article Copyright 2011 by Francis Xavier Pulikotil
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid