The punctuation/comma_if.hpp header defines a macro that conditionally expands to a comma.

Usage

#include <boost/preprocessor/punctuation/comma_if.hpp>

Contents