What is the error in the following g++ class construction?
<p>I receive a g++ error (undefined reference to 'SomeClass::SomeClass(int)' and 'SomeClass::~SomeClass') with the following:</p>

<pre><code>/*
 * SomeClass.h
 *
 */

#ifndef SOMECLASS_H_
#define SOMECLASS_H_

class SomeClass
{

public:
    SomeClass();
    SomeClass(int someInt);
    ~SomeClass();
};

#endif /* SOMECLASS_H_ */


/*
 * SomeClass.cpp
 *
 */

#include "SomeClass.h"

SomeClass::SomeClass()
{
}

SomeClass::SomeClass(int someInt)
{
}

SomeClass::~SomeClass()
{
}

/*
 * main.cpp
 *
 */

#include "SomeClass.h"

int main()
{

    SomeClass::SomeClass someObject(1);

    return 0;
}
</code></pre>
