Combine the sugar, cornstarch, and salt in a medium saucepan. Stir or whisk together. Pour in milk and egg yolks, and whisk together.
For the whipped topping:
1 cup heavy whipping cream
2 Tablespoons powdered sugar , or granulated sugar1 1/2 teaspoons vanilla extract
Once pudding has set, make the topping by adding the cream to a mixing bowl. Mix with electric mixers on high speed for 1-2 minutes.
Add the sugar and vanilla extract. Continue mixing until soft peaks form, about 2-3 minutes.
Spread whipped cream over pie and top with chocolate curls or shavings.