I am trying to use default raw pointer as a default template parameter. I read that non type template parameters are restricted to integral types, enums, pointers and references. With references I had no issues, but when I tried to use pointer I am facing such error:

```cpp
error: non-type template argument of type 'Engine *' is not a constant expression.

```

Here is my code:

```cpp
#include <iostream>
#include <memory>

using std::cout;
using std::endl;

class Engine
{
public:
    void startEngine()
    {
        m_started = true;
        cout << "Engine started!" << endl;
    }
private:
    bool m_started = false;
};

template<typename T, T* DEFAULT>
class Car
{
public:
    explicit Car(const uint64_t uid) : m_uid(uid), engine(DEFAULT)
    {
        engine->startEngine();
    }

private:
    uint64_t m_uid;
    T* engine;
};

namespace
{
    std::shared_ptr<Engine> engine = std::make_shared<Engine>();
    Engine* e = engine.get();
}

int main()
{
    Car<Engine, e> lambo(0);
    return 0;
}

```

The only restriction as I see now is that second template argument needs to have static storage duration and external or internal linkage but the code fits these requirements. Appreciate any help.