From e387c06f590ef97383ad88fa7730c558ae5b9aa3 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 4 Aug 2009 19:51:19 +0000 Subject: [PATCH] STATIC_ASSERT(). --- documentation/RELEASE_NOTES.html | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/documentation/RELEASE_NOTES.html b/documentation/RELEASE_NOTES.html index fc7b845b1..a4c40558d 100644 --- a/documentation/RELEASE_NOTES.html +++ b/documentation/RELEASE_NOTES.html @@ -3,15 +3,26 @@ - EPICS Base R3.14.x Release Notes + EPICS Base R3.14.11-CVS Release Notes -

EPICS Base Release 3.14.1x

+

EPICS Base Release 3.14.11-CVS

Changes between 3.14.10 and 3.14.11

+

Compile-time assertions

+ +

A new macro has been added to epicsAssert.h which performs assertion checks +at compile-time. STATIC_ASSERT(expr) can only be used when +expr can be evaluated by the compiler, and will cause the +compilation to fail if it evaluates to false. The resulting compiler error +message might appear a little obscure, but it does provide some explanation and +contains the line where the failure was discovered. Future versions of the C++ +standard will probably contain a similar facility static_assert(expr, +message) but will require compiler support to be implemented.

+

Several changes made to dbDefs.h

The definitions for the macros YES, NO, NONE,