docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
sdfg::symbolic::polyhedral::IslCtx Class Reference

Move-only RAII owner of an isl_ctx. More...

#include <sdfg/symbolic/polyhedral.h>

Public Member Functions

 IslCtx ()
 ~IslCtx ()
 IslCtx (const IslCtx &)=delete
IslCtx & operator= (const IslCtx &)=delete
 IslCtx (IslCtx &&other) noexcept
IslCtx & operator= (IslCtx &&other) noexcept
isl_ctx * get () const
 operator bool () const

Detailed Description

Move-only RAII owner of an isl_ctx.

Allocates a fresh context (with ISL_ON_ERROR_CONTINUE so parse failures yield null pointers instead of aborting) and frees it on destruction. Because ISL objects must outlive nothing beyond their context, declare the IslCtx first in any scope so it is destroyed last.

Constructor & Destructor Documentation

◆ IslCtx() [1/3]

sdfg::symbolic::polyhedral::IslCtx::IslCtx ( )

◆ ~IslCtx()

sdfg::symbolic::polyhedral::IslCtx::~IslCtx ( )

◆ IslCtx() [2/3]

sdfg::symbolic::polyhedral::IslCtx::IslCtx ( const IslCtx & )
delete

◆ IslCtx() [3/3]

sdfg::symbolic::polyhedral::IslCtx::IslCtx ( IslCtx && other)
noexcept

Member Function Documentation

◆ get()

isl_ctx * sdfg::symbolic::polyhedral::IslCtx::get ( ) const
inline

◆ operator bool()

sdfg::symbolic::polyhedral::IslCtx::operator bool ( ) const
inlineexplicit

◆ operator=() [1/2]

IslCtx & sdfg::symbolic::polyhedral::IslCtx::operator= ( const IslCtx & )
delete

◆ operator=() [2/2]

IslCtx & sdfg::symbolic::polyhedral::IslCtx::operator= ( IslCtx && other)
noexcept

The documentation for this class was generated from the following file: