A)Although the requested key is not in range ,still the code should compile?(without any error throwing and halting compilation)
It would be nice if it failed at compile time. But this is hard without C++ 17.
B)The solution to the problem should prove that compile time initiation of the map is confirmed(constexpr should definitely compile at the compile time not remain to the run time).would it be enough to practically proving this for different compilers under c++14 to approve as a solution?
All the other students have used https://gcc.godbolt.org/
C)Should I take the competency test?
Unless you have an open source library written by you at least three months ago, then yes. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/