issue #2790:Add more conversion functions to support templates containers