So I tried using an auto function for a Reader file and when I declare it in its own .cpp file and .h file I receive the error:

> 
> 'Reader': a function that returns 'auto' cannot be used before it is defined
> 
> 
> 

But the function works perfectly in the .cpp file where main function is declared.

Reader.cpp

```
auto Reader(std::string Location, int Value)
{
    //Code - I removed the code for simplicity sake
    return 1;
}

```

Reader.h

```
auto Reader(std::string Location, int Value);

```

This is how its called in the main function:

```
    int Renderer = Reader("Engine.Setup", Test);

```