BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
OutOfBoundsIssue.h File Reference

Out of bounds exception when trying to read beyond existing buffers. More...

#include "eformat/Issue.h"
#include <stdint.h>

Go to the source code of this file.

Classes

class  eformat::OutOfBoundsIssue
 

Namespaces

namespace  eformat
 

Macros

#define EFORMAT_OUT_OF_BOUNDS(size, pos)
 

Detailed Description

Out of bounds exception when trying to read beyond existing buffers.

Author
Andre DOS ANJOS
Author
zhangy
Revision
1.1.1.1
Date
2009/06/19 07:35:41

Definition in file OutOfBoundsIssue.h.

Macro Definition Documentation

◆ EFORMAT_OUT_OF_BOUNDS

#define EFORMAT_OUT_OF_BOUNDS ( size,
pos )
Value:

Simplifies the use of this Issue

Parameters
sizeThe current buffer size
posThe requested position

Definition at line 66 of file OutOfBoundsIssue.h.

66#define EFORMAT_OUT_OF_BOUNDS(size, pos) \
67 eformat::OutOfBoundsIssue(ERS_HERE, ers::error, size, pos)

Referenced by eformat::PagedMemory< TMAXPAGES >::const_iterator::at().