I have defined a struct, which has a constructor:

```
struct MyStruct
{
    MyStruct(const int value)
        : value(value)
    {
    }
    int value;
};

```

and the following objects:

```
int main()
{
    MyStruct a (true);
    MyStruct b {true};
}

```

But I haven't received any compile errors, either with MVS2015 or Xcode 7.3.1.

1. Why am I not getting any compile errors?
2. How do I make the compiler help me detect this? (Initially, the struct was written to have `bool` data, but after some time, code changed and `bool` became `int` and several bugs were introduced.)