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

Tagged as

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

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