src/tiramisu_core.cpp
void function::add_buffer(std::pair < std::string, tiramisu::buffer * > buf)
{
        assert(!buf.first.empty() && ("Empty buffer name."));
        assert((buf.second != NULL) && ("Empty buffer."));

        this->buffers_list.insert(buf);
}
/**
  * Add a buffer to the function.
  */
Add a buffer to the function.
Add a buffer to the function .
void function::add_buffer(std::pair < std::string, tiramisu::buffer * > buf)
{
        assert(!buf.first.empty() && ("Empty buffer name."));
        assert((buf.second != NULL) && ("Empty buffer."));
        this->buffers_list.insert(buf);
}
void function :: add_buffer ( std :: pair < std :: string , tiramisu :: buffer * > buf ) { assert ( ! buf . first . empty ( ) && ( " " ) ) ; assert ( ( buf . second != NULL ) && ( " " ) ) ; this -> buffers_list . insert ( buf ) ; }
Add a buffer to the function.
Add a buffer to the function .