Defect Report: simple-type-specifers table has outdated caption

Defect Report: simple-type-specifers table has outdated caption

Post by Me » Wed, 27 Apr 2005 23:45:24



[note: forwarded to C++ Committee. -sdc ]

7.1.5.2/caption for Table 7:
"It is implementation-defined whether bit-fields and objects of char
type are represented as signed or unsigned quantities. The signed
specifier forces char objects and bit-fields to be signed; it is
redundant with other integral types."

The last sentence in that quote is misleading w.r.t. bit-fields. The
first sentence in that quote correct but incomplete.

Proposed fix: change the two sentences to read: "It is
implementation-defined whether objects of char type are represented as
signed or unsigned quantities. The signed specifier forces char objects
signed, it is redundant with other integral types except when declaring
bit-fields (9.6)."



[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.yqcomputer.com/ ]
 
 
 

1. Using different font types in the figure caption and table caption

2. Max Vaughn: Integer an datetime type in ATL MFC Step by Step Display Specifer

Hello

I'm working with the manual "ATL MFC Step by Step Display Specifer Sample".
I use a lot of Unicode String attributes, and using this type of attributes
my dll function well.

But now I need date time attributes(like SQL) and integer attributes.


Example:

...
attrInfo[3].dwADsType = ADSTYPE_CASE_IGNORE_STRING;
attrInfo[3].pszAttrName = rgpwzAttrNames[3];

Value[3].dwType = ADSTYPE_CASE_IGNORE_STRING;
Value[3].CaseIgnoreString = (LPWSTR)(LPCWSTR)m_szKBFichero;

attrInfo[3].pADsValues = &Value[3];
attrInfo[3].dwNumValues = 1;
//
// Once again, make sure that there is a value to place back into the
// attribute.
//
if( m_szKBFichero.IsEmpty( ))
attrInfo[3].dwControlCode = ADS_ATTR_CLEAR;
else
attrInfo[3].dwControlCode = ADS_ATTR_UPDATE;


//
// Set the new values in Active Directory
//

DWORD dwReturned = 0;
hr = m_spDsObj->SetObjectAttributes(attrInfo, 4, &dwReturned);


-------------------------------------------------------------------------

This example function well, with Unicode String attributes,
what are the changes in this example to function well with integer and
datetime types.

Thanks

3. Defect Report: When is a non-type template argument specialized?

4. Table of Figures - caption numbering problems-still having trouble

5. Defect report: Is an extern thread_local a legal non-type reference template argument?

6. Creating a table from a recordset query then having a report form use the resulting table.

7. Simple questions about table captions

8. Algorithm2e: Caption does not match style of Figure and Table captions

9. Table captions converted to figure captions, & vice versa

10. Link figure caption and table caption to document callouts to upda

11. Caption title is not appearing in caption table

12. Generating a table of figures and table of tables using 'insert caption'

13. Simple Table but having query issues

14. vary report label caption using form & table info

15. caption types change automatically to one type only