Hedley

Hedley is single a C/C++ header you can include in your project to enable compiler-specific features while retaining compatibility with all compilers. It contains dozens of macros to help make your code easier to use, harder to misuse, safer, faster, and more portable.

You can safely include Hedley in your public API, and it works with virtually any C or C++ compiler.

User Guide

Learn how Hedley works, and how to make it work for you. Our easy-to-read user guide provides a gentle introduction to everything you need to know.

Get Started

API Reference

Detailed documentation of everything exposed by Hedley, including code samples, information on compiler support.

RTFM

Support

Have questions, comments, or complaints? Let us know!

Get Help