Question

I saw a code here.

And about at line 137:

inline bool INISection::ReadString(const char * name, const char * & out) const
{
    //...

    i tag_index;

    if(*name == '\0')
    {
        //...
        tag_index = Iter;
    }
    else
    {
        tag_index = BinarySearch(Tags, Length, name);
    }

    //...

    return false;
}

What does i tag_index; mean? Does C++ have this grammar?

Was it helpful?

Solution

It's actually an int_fast32_t. Look at include/typdefs.h and find this at line 21:

typedef int_fast32_t               i;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top