Skip to content

#include and using namespace Injection #197

Description

@kchabSS

OCCA <device>/include_std input JSON property enables/disables injection of standard headers
#include <stdint.h> #include <cstdlib> #include <cstdio> #include <cmath>
and namespace
using namespace std;
for certain backends.

Used in setupHeaders methods.
Example: serialParser::setupHeaders

OCCA kernel/include_occa inject header
include <occa.hpp>
and namespace
using namespace occa;
for certain backends.

For more in-depth check https://github.com/libocca/occa/tree/development/src/occa/internal/modes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions