Skip to content

unbound

The unbound is a storage modifier and a function qualifier.

Syntax

unbound int32 constant = 7;
unbound int32 fuBar() 
{
    // unbound class method body
}

Example Code

class Identifier
{
    unbound var int32 counter = 0;
public:
    unbound int32 constant = 7; // is equivalent to C++ static class variables.

    unbound void fuBar() // is equivalent to C++ static class methods.
    {
        unbound int32 internal_counter = 0; // the lifetime is unbound to the method stack.
    }
};