From 44c2241cd44e11b3529b6ad86a7b92a9d2c99d5c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 16 Nov 2010 22:19:06 +0000 Subject: update coding standards. Partial specialization is now ok, though possibly not a good idea. llvm-svn: 119398 --- llvm/docs/CodingStandards.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'llvm/docs/CodingStandards.html') diff --git a/llvm/docs/CodingStandards.html b/llvm/docs/CodingStandards.html index 416c29b7bed..44a55a55857 100644 --- a/llvm/docs/CodingStandards.html +++ b/llvm/docs/CodingStandards.html @@ -397,9 +397,10 @@ portable code. If there are cases where it isn't possible to write portable code, isolate it behind a well defined (and well documented) interface.

In practice, this means that you shouldn't assume much about the host -compiler, including its support for "high tech" features like partial -specialization of templates. If these features are used, they should only be -an implementation detail of a library which has a simple exposed API.

+compiler, and Visual Studio tends to be the lowest common denominator. +If advanced features are used, they should only be an implementation detail of +a library which has a simple exposed API, and preferably be buried in +libSystem.

-- cgit v1.2.3