dsimcha: > Is there any way to test whether the value of an argument to a template > function is known at compile time and specialize on this? Do you mean this? http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=97424 Bye, bearophile