Add declval snippet and reorganised reference
Add if else if else snippet
Add if else snippet