Macros
static_assert.h File Reference
#include "sick_scan/sick_scan_base.h"
Include dependency graph for static_assert.h:

Go to the source code of this file.

Macros

#define ROS_COMPILE_ASSERT(cond)   BOOST_STATIC_ASSERT(cond)
 Compile-time assert. More...
 
#define ROS_STATIC_ASSERT(cond)   BOOST_STATIC_ASSERT(cond)
 Compile-time assert. More...
 
#define ROSCONSOLE_STATIC_ASSERT_H
 

Macro Definition Documentation

◆ ROS_COMPILE_ASSERT

#define ROS_COMPILE_ASSERT (   cond)    BOOST_STATIC_ASSERT(cond)

Compile-time assert.

Only works with compile time statements, ie:

  struct A
  {
    uint32_t a;
  };
  ROS_COMPILE_ASSERT(sizeof(A) == 4);

Definition at line 53 of file static_assert.h.

◆ ROS_STATIC_ASSERT

#define ROS_STATIC_ASSERT (   cond)    BOOST_STATIC_ASSERT(cond)

Compile-time assert.

Only works with compile time statements, ie:

  struct A
  {
    uint32_t a;
  };
  ROS_STATIC_ASSERT(sizeof(A) == 4);

Definition at line 68 of file static_assert.h.

◆ ROSCONSOLE_STATIC_ASSERT_H

#define ROSCONSOLE_STATIC_ASSERT_H

Definition at line 34 of file static_assert.h.



sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:14