Add ErrorPolicy template parameter and constructor to all codecs, although no use is made of it yet. Change generic_narrow::to_iterator to use codecvt_policy. Untested.