Click here to Skip to main content
15,885,546 members

Bugs and Suggestions

   

General discussions, site bug reports and suggestions about the site.

For general questions check out the CodeProject FAQs. To report spam and abuse Head to the Spam and abuse watch. If you wish to report a bug privately, especially those related to security, please email webmaster@codeproject.com

 
GeneralRe: C++ code formatting problems Pin
Matthew Dennis18-Jun-21 5:11
sysadminMatthew Dennis18-Jun-21 5:11 
GeneralRe: C++ code formatting problems Pin
Richard MacCutchan18-Jun-21 5:34
mveRichard MacCutchan18-Jun-21 5:34 
GeneralRe: C++ code formatting problems Pin
Espen Harlinn18-Jun-21 5:54
professionalEspen Harlinn18-Jun-21 5:54 
GeneralRe: C++ code formatting problems Pin
Espen Harlinn18-Jun-21 6:08
professionalEspen Harlinn18-Jun-21 6:08 
GeneralRe: C++ code formatting problems Pin
honey the codewitch18-Jun-21 18:58
mvahoney the codewitch18-Jun-21 18:58 
GeneralRe: C++ code formatting problems Pin
Espen Harlinn19-Jun-21 4:21
professionalEspen Harlinn19-Jun-21 4:21 
AdminRe: C++ code formatting problems Pin
Chris Maunder21-Jun-21 13:46
cofounderChris Maunder21-Jun-21 13:46 
GeneralRe: C++ code formatting problems Pin
Espen Harlinn21-Jun-21 15:01
professionalEspen Harlinn21-Jun-21 15:01 
Quote:
Interestingly the issue was you had the "Use Markdown" checkbox checked

Right, noticed that after Richards post. Unchecking 'Use Markdown' seems to work for most cases.
Now, here is another, probably unrelated, formatting issue:
C++
long long value = 1'000'000'000;
for(long long i = 0; i < value; ++i)
{
   ... 
}

and this would probably look better with a bit more color:
C++
template<typename T>
inline constexpr bool IsReference = std::is_same_v< std::remove_volatile_t<std::remove_const_t<T>> , std::remove_reference_t<std::remove_volatile_t<std::remove_const_t<T>>>> == false;

template<typename T>
concept StreamIO = ( StreamReader<T> && StreamWriter<T> );

template<typename T>
concept StreamSeek = requires( T t, long long offset, SeekOrigin seekOrigin )
{
    { t.Seek( offset, seekOrigin ) }->std::convertible_to<long long>;
};

template<typename T>
concept StreamFeatureTests = requires( T t )
{
    { t.CanRead( ) } ->std::convertible_to<bool>;
    { t.CanSeek( ) } ->std::convertible_to<bool>;
    { t.CanTimeout( ) } ->std::convertible_to<bool>;
    { t.CanWrite( ) } ->std::convertible_to<bool>;
};


But you are essentially right, unchecking 'Use Markdown' seems to do the trick Smile | :)
Espen Harlinn
Senior Architect - Ulriken Consulting AS

The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague.Edsger W.Dijkstra

GeneralRe: C++ code formatting problems Pin
Chris Maunder25-Jun-21 8:06
cofounderChris Maunder25-Jun-21 8:06 
GeneralRe: C++ code formatting problems Pin
Espen Harlinn25-Jun-21 12:12
professionalEspen Harlinn25-Jun-21 12:12 
GeneralRe: C++ code formatting problems Pin
Nelek26-Jun-21 1:09
protectorNelek26-Jun-21 1:09 
GeneralRe: C++ code formatting problems Pin
Espen Harlinn26-Jun-21 1:28
professionalEspen Harlinn26-Jun-21 1:28 
JokeRe: C++ code formatting problems Pin
Nelek26-Jun-21 3:18
protectorNelek26-Jun-21 3:18 
GeneralRe: C++ code formatting problems Pin
Nelek25-Jun-21 8:20
protectorNelek25-Jun-21 8:20 
GeneralRe: C++ code formatting problems Pin
Espen Harlinn25-Jun-21 12:06
professionalEspen Harlinn25-Jun-21 12:06 
SuggestionIn Q&A, TextBox messing user input. Pin
Patrice T17-Jun-21 10:38
mvePatrice T17-Jun-21 10:38 
GeneralRe: In Q&A, TextBox messing user input. Pin
Greg Utas17-Jun-21 11:55
professionalGreg Utas17-Jun-21 11:55 
GeneralRe: In Q&A, TextBox messing user input. Pin
Patrice T17-Jun-21 12:00
mvePatrice T17-Jun-21 12:00 
GeneralRe: In Q&A, TextBox messing user input. Pin
Matthew Dennis21-Jun-21 4:55
sysadminMatthew Dennis21-Jun-21 4:55 
GeneralRe: In Q&A, TextBox messing user input. Pin
Patrice T21-Jun-21 18:27
mvePatrice T21-Jun-21 18:27 
GeneralRe: In Q&A, TextBox messing user input. Pin
Chris Maunder22-Jun-21 7:50
cofounderChris Maunder22-Jun-21 7:50 
GeneralRe: In Q&A, TextBox messing user input. Pin
Patrice T22-Jun-21 8:38
mvePatrice T22-Jun-21 8:38 
GeneralRe: In Q&A, TextBox messing user input. Pin
Patrice T30-Jun-21 9:29
mvePatrice T30-Jun-21 9:29 
SuggestionJust a thought about article downloads. Pin
OriginalGriff16-Jun-21 20:10
mveOriginalGriff16-Jun-21 20:10 
SuggestionLost all my work Pin
CodeErgoSum14-Jun-21 20:55
CodeErgoSum14-Jun-21 20:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Flags: SolvedFixed

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.