Click here to Skip to main content
12,244,664 members (64,367 online)
Click here to Skip to main content

Tagged as

Stats

7.8K views
82 downloads
3 bookmarked
Posted

Ideas from a smart pointer. Support data-alignment (part 1)

, 28 May 2012 CPOL
embedded ref-counted resource management
#pragma once

namespace cm
{
	void* CommonAlloc(size_t size);
	void CommonFree(void* p);
	void* CommonAlignedAlloc(size_t size, size_t alignment);
	void CommonAlignedFree(void* p);
}

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

goecerfun
China China
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160426.1 | Last Updated 28 May 2012
Article Copyright 2012 by goecerfun
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid