U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » signature of the stou function
signature of the stou function [message #833] Fri, 03 February 2006 20:05 Go to previous message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
Wouldn't it be better & more type-safe if the type of the endptr parameter in these functions would be const char **, and const wchar ** ?

unsigned stou(const char *s, void *endptr, unsigned base)
uint64 stou64(const char *s, void *endptr, unsigned base)
unsigned stou(const wchar *s, void *endptr, unsigned base)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: bits/atomicity.h
Next Topic: Xmlize and double
Goto Forum:
  


Current Time: Sun Apr 26 00:49:19 GMT+2 2026

Total time taken to generate the page: 0.00501 seconds