KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
constants
171 questions · page 2 of 4
Follow Tag
Sort by:
Newest
Votes
Active
36
votes
3
answers
Can't read a const in a class instance?
c#
constants
asked 2011-07-29T00:39:52.553
9
votes
2
answers
Devise Invitable: uninitialized constant
ruby-on-rails
devise
constants
initialization
invitation
asked 2011-07-06T23:56:15.093
12
votes
5
answers
Making sense of where "const" goes in a declaration
c++
c
syntax
constants
asked 2011-07-06T02:04:48.080
14
votes
2
answers
Why can I not use my constant in the switch - case statement in Objective-C ? [error = Expression is not an integer constant expression]
objective-c
tags
constants
case
switch-statement
asked 2011-07-05T15:36:10.660
9
votes
1
answers
Implicit internal linkage not the same as explicit internal linkage ("static")?
c++
gcc
static
constants
linkage
asked 2011-06-30T14:14:39.007
52
votes
6
answers
Can you undefine or change a constant in PHP?
php
constants
asked 2011-06-23T14:38:26.197
135
votes
12
answers
Importing a long list of constants to a Python file
python
constants
python-import
asked 2011-06-14T12:17:18.493
11
votes
4
answers
In C, are const variables guaranteed to be distinct in memory?
c
string
constants
c99
asked 2011-06-04T12:34:56.570
63
votes
7
answers
How to declare a class instance as a constant in C#?
c#
.net
constants
asked 2011-06-03T18:39:13.643
29
votes
6
answers
Why is multiple definition of a const global variable allowed in C++ and not in C?
c++
c
constants
one-definition-rule
asked 2011-05-30T08:19:44.870
15
votes
3
answers
Enums VS Classes VS Interfaces
java
enums
constants
asked 2011-05-26T19:50:16.103
10
votes
3
answers
deducing references to const from rvalue arguments
c++
templates
reference
constants
instantiation
asked 2011-05-20T16:43:32.503
23
votes
7
answers
Is the use of `const` dogmatic or rational?
delphi
parameters
constants
asked 2011-04-30T22:03:33.897
99
votes
8
answers
Advantages of using const instead of variables inside methods
c#
coding-style
resharper
constants
asked 2011-04-29T15:17:53.090
24
votes
3
answers
Understanding how to correctly treat c++ class constants
c++
class
constants
asked 2011-04-11T10:53:03.187
9
votes
4
answers
Why can't I use 'this.' in C# to access my class constant?
c#
.net
constants
asked 2011-04-05T14:31:14.040
39
votes
2
answers
C Question: (const void *) vs (void *)
c
pointers
constants
asked 2011-04-05T04:17:47.683
13
votes
5
answers
Is it possible to redefine PHP constants?
php
class
constants
asked 2011-03-25T01:47:45.083
11
votes
2
answers
why a const object of an empty class cant be created
c++
constants
empty-class
asked 2011-03-17T06:55:53.670
20
votes
4
answers
How to query a constexpr std::tuple at compile time?
c++
c++11
constants
tuples
asked 2011-02-23T05:34:02.980
164
votes
11
answers
Java's final vs. C++'s const
java
c++
constants
final
asked 2011-02-11T16:07:49.117
13
votes
2
answers
Unable to include a Class in to another class in Ruby: uninitialized constant (NameError)
ruby
include
constants
require
initialization
asked 2011-02-06T01:07:57.503
76
votes
7
answers
int vs const int&
c++
coding-style
reference
constants
asked 2011-01-16T13:27:21.500
14
votes
6
answers
Does it make sense to use const in an interface or not?
c++
interface
constants
asked 2010-12-28T18:12:22.590
12
votes
1
answers
How to prevent temporary materialization for const reference parameters
c++
reference
constants
temporary
temporary-objects
asked 2010-12-28T00:07:48.497
18
votes
3
answers
Should the compiler hint/warn when passing object instances directly as const interface parameters?
delphi
interface
parameters
constants
asked 2010-12-22T12:09:36.120
33
votes
8
answers
Are string literals const?
c
string
constants
literals
asked 2010-12-20T19:31:26.307
185
votes
17
answers
How can I get a resource content from a static context?
java
android
static
constants
android-resources
asked 2010-12-08T20:03:08.370
12
votes
5
answers
Hash Constants in Perl
perl
constants
asked 2010-12-06T19:16:49.290
10
votes
9
answers
Deep Analysis of Const Qualifier in C
c
constants
asked 2010-11-25T09:31:04.933
25
votes
5
answers
Why has Python decided against constant references?
python
reference
constants
language-design
language-features
asked 2010-11-16T07:42:51.317
9
votes
4
answers
Does overriding a non-const virtual method hide a const overload?
c++
inheritance
virtual
constants
name-lookup
asked 2010-11-11T09:09:08.177
46
votes
8
answers
const member and assignment operator. How to avoid the undefined behavior?
c++
constants
undefined-behavior
assignment-operator
asked 2010-11-09T16:42:45.020
11
votes
7
answers
Is it considered good practice to use const for local variables?
c++
variables
constants
asked 2010-11-09T10:22:02.763
243
votes
13
answers
Ruby on Rails: Where to define global constants?
ruby-on-rails
constants
global
asked 2010-11-05T23:06:37.190
49
votes
4
answers
Create a constant array of strings
arrays
delphi
constants
asked 2010-11-01T15:06:01.263
27
votes
7
answers
Defining Constants in Django
python
django
constants
asked 2010-10-28T11:27:06.540
29
votes
3
answers
How do I create my own defined constants based on the "Configuration Manager"?
visual-studio
configuration
constants
c-preprocessor
asked 2010-10-20T18:41:40.413
28
votes
3
answers
phpDoc class constants documentation
php
class
documentation
constants
phpdoc
asked 2010-10-08T15:33:29.903
51
votes
5
answers
c++ const member function that returns a const pointer.. But what type of const is the returned pointer?
c++
constants
asked 2010-10-08T07:26:34.813
27
votes
4
answers
Java constants file
java
android
constants
asked 2010-10-05T17:37:10.400
32
votes
11
answers
Can we change the value of an object defined with const through pointers?
c
constants
undefined-behavior
asked 2010-09-27T06:30:15.613
20
votes
1
answers
Internationalization for constants-hashes in rails 3
ruby-on-rails
hash
internationalization
ruby-on-rails-3
constants
asked 2010-09-02T18:09:13.123
13
votes
2
answers
cast const Class using dynamic_cast
c++
constants
dynamic-cast
asked 2010-08-31T02:37:40.717
14
votes
10
answers
Initializing C++ const fields after the constructor
c++
constructor
constants
asked 2010-08-12T06:43:12.340
70
votes
6
answers
Can you use static constants inside classes in PHP?
php
class
variables
syntax
constants
asked 2010-08-02T15:47:52.947
38
votes
9
answers
C++ const getter method with lazy initialization
c++
constants
lazy-loading
asked 2010-07-30T19:30:41.870
10
votes
4
answers
Best pattern for Constants in SQL?
sql-server
constants
maintainability
asked 2010-07-30T10:48:38.450
28
votes
1
answers
const pointer assign to a pointer
c++
pointers
constants
asked 2010-07-23T08:35:50.010
9
votes
3
answers
C/C++: Pointers within Const Struct
c++
c
pointers
struct
constants
asked 2010-07-04T23:11:39.943
← Prev
page 2 of 4
Next →